- 论坛徽章:
- 0
|
什么原因导致的?
我的系统 solaris7
安装mysql-3.23.53-sol7-sparc-local.gz
#gunzip mysql-3.23.53-sol7-sparc-local.gz
#pkgadd -d mysql-3.23.53-sol7-sparc-local
pkgadd:选项要求一个自变量 -- d
用法:
pkgadd [-n] [-d device] [[-M] -R host_path] [-V fs_file][-a admin_file] [-r response] [-v] [pkg [pkg ...]]
pkgadd -s dir [-d device] [pkg [pkg ...]]
#pkgadd -d mysql-3.23.53-sol7-sparc-local
下列软件包是可以使用的:
1 SMCmysql mysql
(sparc) 3.23.53
选择你要执行的软件包(或选择'全部'执行所有的软件包). (default: all) [?,??,q]:
.........
........
[ 确认类别<none>; ]
安装<SMCmysql>;成功
#cd /usr/local/mysql/bin
#./mysql_install_db
./mysql_install_db: /usr/local/bin/hostname: 没有找到
Sorry, the host '' could not be looked up.
Please configure the 'hostname' command to return a correct hostname.
If you want to solve this at a later stage, restart this script with
the --force option
#./safe_mysqld --user=mysql &
22284
#./safe_mysqld: /usr/local/bin/hostname: 没有找到
./safe_mysqld: /usr/local/bin/hostname: 没有找到
touch: /usr/local/mysql/var/.err不能建立
chown: /usr/local/mysql/var/.err: 无此文件或目录
Starting mysqld daemon with databases from /usr/local/mysql/var
./safe_mysqld: /usr/local/mysql/var/.err: 不能建立
就是这样?没有hostname 文件
是不是自己手动建立阿? |
|