日本三级片在线观看视频_西西大胆午夜人体视频无码_少妇无码一区二区_亚洲天堂超碰_极品少妇被猛的白浆直流_91精品云霸高清中文字幕_草草五月天伊人_久久少妇无码专区_欧美激欧美啪啪5老太_日韩在线在线成人

CentOS 6.2 yum 安裝MySQL初始化警告的解決方法

2017-03-08 14:57:09 18189

CentOS 6.2 yum 安裝MySQL初始化警告的解決方法


CentOS 6.2 yum 安裝MySQL初始化警告的解決方法,需要的朋友可以參考下


yum install mysql-server 


初始化時出現(xiàn)以下警告 


[root@fengzhige etc]# /etc/rc.d/init.d/mysqld start 


Initializing MySQL database: WARNING: The host 'fengzhige' could not be looked up with resolveip. 


This probably means that your libc libraries are not 100 % compatible 


with this binary MySQL version. The MySQL daemon, mysqld, should work 


normally with the exception that host name resolving will not work. 


This means that you should use IP addresses instead of hostnames 


when specifying MySQL privileges ! 


Installing MySQL system tables... 


OK 


Filling help tables... 


OK 


按提示,把/etc/hosts添加IP和主機名即可 


如[root@37 etc]# cat /etc/hosts 


代碼如下:


[root@fengzhige etc]# cat /etc/hosts 

127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 

::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 

192.168.10.37 fengzhige 

192.168.11.37 fengzhige 


提交成功!非常感謝您的反饋,我們會繼續(xù)努力做到更好!

這條文檔是否有幫助解決問題?

非常抱歉未能幫助到您。為了給您提供更好的服務(wù),我們很需要您進一步的反饋信息:

在文檔使用中是否遇到以下問題: