国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 系統 > CentOS > 正文

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

2020-07-08 12:59:09
字體:
來源:轉載
供稿:網友
yum install mysql-server

初始化時出現以下警告

[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


本文出自 “楓之歌” 博客 出處http://fengzhige.blog.51cto.com/3691377/1001588
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 潢川县| 吉林省| 陆良县| 五家渠市| 绥中县| 祁阳县| 津南区| 乌拉特前旗| 修水县| 威远县| 凯里市| 防城港市| 岐山县| 桂平市| 潍坊市| 深州市| 马尔康县| 金川县| 荆门市| 台安县| 威远县| 鄂尔多斯市| 陆川县| 鄯善县| 富阳市| 长阳| 安徽省| 鲁甸县| 石楼县| 南安市| 剑河县| 怀集县| 仪陇县| 遂平县| 肇庆市| 徐州市| 深水埗区| 岱山县| 乌鲁木齐市| 论坛| 增城市|