首页 | 新闻 | 交流 | 问吧 | 文档 | 手册 | 下载 | 博客

收藏此问题 发表新评论

Linux下安装mysql

各位 我在安装mysql的时候(OS 是 RH5 )

scripts/mysql_install_db --user=mysql

总是提示:
scripts/mysql_install_db:line 204:./bin/my_print_defaults:cannot execute binary file
Neither host 'localhost' nor 'localhost' could be looked up with
/usr/bin/resolveip
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

我 ping  localhost ,解析为127.0.0.1,是没有问题的

下面是我的hosts文件到内容:
#Do not remove the following line,or various programs
#that require network functionality will fail.
127.0.0.1 localhost.localdomain  localhost

还请前辈指点迷津  我都快搞疯了……

[ 本帖最后由 engblind 于 2008-7-17 11:26 编辑 ]
昵称: engblind  时间: 2008-07-17 11:12:00
高手呢……
昵称: engblind  时间: 2008-07-18 09:36:00