本站博主,浙江省台州求职,IT方面
Mysql启动不起来
[root@localhost ]# service mysqld start
Initializing MySQL database: Neither host 'localhost' nor 'localhost' could be looked up with
/usr/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
[失败]
[root@localhost]#
解决的方法在Google找到的,百度垃圾站多的不行。E文的网站,里面回答问题的气氛不错。
解决:
在 /etc/hosts里面添加:
127.0.0.1 localhost.localdomain localhost
链接:http://www.linuxquestions.org/questions/showthread.php?t=499251
订阅博文:
RSS Feed
