安装的过程中有个运行
scripts/mysql_install_db
执行结束后出现
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
/usr/local/mysql/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
What's the problem?
scripts/mysql_install_db
执行结束后出现
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
/usr/local/mysql/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
What's the problem?
这个文件里加上一行:
localhost 127.0.0.1