在centos上安装mysql,到 ./scripts/mysql_install_db 这一步时
发布网友
发布时间:2022-05-02 16:25
我来回答
共1个回答
热心网友
时间:2022-05-02 17:55
在centos Linux 系统下安装mysql时,执行scripts/mysql_install_db --user=mysql
报错:sh: ./bin/my print defaults: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory
Neither host 'guozh' 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
原因:mysql是32位的,而系统是64 位