国产探花免费观看_亚洲丰满少妇自慰呻吟_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
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 乌鲁木齐市| 商南县| 大丰市| 敦化市| 商南县| 长泰县| 隆德县| 冷水江市| 黄龙县| 嘉禾县| 班戈县| 陆良县| 安康市| 宝鸡市| 青川县| 济南市| 阜平县| 玛沁县| 丰原市| 巴南区| 临猗县| 昌黎县| 明溪县| 重庆市| 城口县| 桃源县| 元阳县| 香港 | 甘谷县| 庆阳市| 营山县| 阿拉尔市| 新建县| 丽水市| 陇西县| 巫溪县| 楚雄市| 楚雄市| 黑水县| 乌兰县| 遂溪县|