redhat enterprise linux 5下安装mysql5.0的问题
安装到这一步:
[root@localhost mysql]# scripts/mysql_install_db
出现错误如下:
Neither host 'localhost.localdomain' nor 'localhost' could be looked up with
/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
我在GOOGLE搜了一下,把/etc/hosts的内容改了,仍然是这错误。
请教各位达人。如何解决。