国产探花免费观看_亚洲丰满少妇自慰呻吟_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
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 应用必备| 大宁县| 建阳市| 玉田县| 绥宁县| 中山市| 巴青县| 黄山市| 天水市| 苗栗县| 修水县| 富宁县| 河东区| 莒南县| 宜昌市| 翁源县| 桑植县| 石楼县| 竹山县| 申扎县| 闽侯县| 海阳市| 龙游县| 任丘市| 峨山| 北海市| 平泉县| 绥阳县| 徐水县| 龙川县| 隆安县| 炎陵县| 泸水县| 万州区| 泰州市| 尚义县| 北宁市| 定安县| 呼和浩特市| 保山市| 四子王旗|