Linux系统:CentOS 6.2yum install mysql-server初始化时出现以下警告[root@ www.linuxidc.com etc]# /etc/rc.d/init.d/mysqld startInitializing MySQL database: WARNING: The host "fengzhige" could not be looked up with resolveip.This probably means that your libc libraries are not 100 % compatiblewith this binary MySQL version. The MySQL daemon, mysqld, should worknormally with the exception that host name resolving will not work.This means that you should use IP addresses instead of hostnameswhen specifying MySQL privileges !Installing MySQL system tables...OKFilling help tables...OK按提示,把/etc/hosts添加IP和主机名即可如[root@ www.linuxidc.com etc]# cat /etc/hosts[root@ www.linuxidc.com 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 ssh终端显示中文乱码Linux 内存测试工具memtester相关资讯 yum
- yum安装与卸载软件常见命令 (05月24日)
- 升级Python导致yum报错 (12/21/2015 15:14:23)
- RHEL7.0配置CD-ROM为本地YUM (12/10/2015 09:24:47)
| - CentOS 6.5下YUM仓库的部署 (03月11日)
- 从CentOS安装R中看yum、rpm、repo (12/18/2015 14:48:10)
- Linux Study之--CentOS 创建本地 (12/03/2015 19:47:40)
|
本文评论 查看全部评论 (0)