上次手賤把fc6中的mysql移除,但重新安裝mysql或是整個fc6重裝,再重新啟動mysql後出現下列文字:
---------------------------------------------------------------------------------------------------------------------------------------
[root@localhost ~]# service mysqld restart
Stopping MySQL: [FAILED]
Initializing MySQL database: Neither host 'localhost.localdomain' 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
[FAILED]
---------------------------------------------------------------------------------------------------------------------------------------
查詢google的資訊相關解答:http://www.nossdutytask.com/comment/reply/231
修改/etc/hosts
再重啟就ok了
沒有留言:
張貼留言