读书人

red hat7.3安装mysql6有关问题

发布时间: 2012-03-17 19:06:28 作者: rapoo

red hat7.3安装mysql6问题
red hat7.3安装mysql6问题

#scripts/mysql_install_db --user=mysql

出现
./bin/my_print_defaults:/lib/i686/libpthread.so.6:version 'GLIBC_2.3.2 'not found(required by ./bin/my_print_defaults)
./bin/my_print_defaults:/lib/i686/libpthread.so.0:version 'GLIBC_2.3.2 ' not found(required by ./bin/my_print_defauts)

Neither host 'localhost.localdomain ' nor 'localhost ' could be looked up with ./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


//
我下载的是Linux x86 generic RPM (dynamically linked) 这个和red hat7.3应该是应该的吧

#vi /etc/hosts
内容如下:
127.0.0.1 localhost.localdomain localhost


这个应该也没有问题

我是用VMware 装的虚拟的redhat

[解决办法]
建议你换fc6 fc7试试。要不就用老些版本的mysql.

[解决办法]
可能是版本太低了。

读书人网 >UNIXLINUX

热点推荐