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

首頁 > 系統 > CentOS > 正文

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

2020-06-21 13:11:52
字體:
來源:轉載
供稿:網友
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
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 曲沃县| 榆林市| 石楼县| 沈阳市| 荣成市| 铅山县| 武清区| 黔南| 望城县| 山东| 湖口县| 陆河县| 灵台县| 镇赉县| 始兴县| 宁津县| 瑞安市| 永嘉县| 同德县| 进贤县| 乌拉特前旗| 共和县| 金山区| 阿坝县| 海宁市| 将乐县| 长岛县| 惠东县| 邮箱| 揭阳市| 肃南| 托克托县| 察雅县| 中江县| 安宁市| 平塘县| 碌曲县| 金乡县| 灵川县| 莎车县| 班玛县|