当前位置: 技术问答>linux和unix
red hat7.3安装mysql6问题
来源: 互联网 发布时间:2016-02-02
本文导语: 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...
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
#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.
|
可能是版本太低了。