欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

Linux 初始化MySQL 數(shù)據(jù)庫報錯解決辦法

 更新時間:2017年05月04日 15:25:27   投稿:lqh  
這篇文章主要介紹了Linux 初始化MySQL 數(shù)據(jù)庫報錯解決辦法的相關(guān)資料,需要的朋友可以參考下

 Linux 初始化MySQL 數(shù)據(jù)庫報錯解決辦法

 在Linux   CentOS 5 中安裝完MySQL (server、devel)之后進(jìn)行初始化

service mysqld  start ,執(zhí)行命令報錯:

 

Neither host 'localhost.localdomain' nor 'localhost' could be looked up with

/usr/bin/resolveip

Please configure the 'hostname' command to return a correct hostname.

錯誤: 

解決辦法

1、查看/etc/hosts,內(nèi)容如下:

# Do not remove the following line, or various programs

# that require network functionality will fail.

::1 localhost.localdomain localhost

2、將::1修改為127.0.0.1后,啟動成功。

感謝閱讀,希望能幫助到大家,謝謝大家對本站的支持!

相關(guān)文章

最新評論