CentOS 6.2 yum 安装MySQL 初始化警告

首页 → Linux教程

背景:

阅读新闻

CentOS 6.2 yum 安装MySQL 初始化警告

[日期:2012-09-21]来源:Linux社区作者:fengzhige[字体:]

Linux系统:CentOS 6.2

yum install mysql-server

初始化时出现以下警告

[root@ 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@ etc]# cat /etc/hosts

[root@ 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

0

ssh终端显示中文乱码

Linux 内存测试工具memtester

相关资讯 yum

图片资讯

本文评论  查看全部评论 (0)

评论声明

最新资讯

本周热门

Linux公社简介 – 广告服务 – 网站地图 – 帮助信息 – 联系我们本站(LinuxIDC)所刊载文章不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。Copyright © 2006-2014 Linux公社 All rights reserved 浙ICP备06018118号

,害怕攀登高峰的人,永远在山下徘徊。

CentOS 6.2 yum 安装MySQL 初始化警告

相关文章:

你感兴趣的文章:

标签云: