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