佚名 通过本文向大家介绍了centos yum安装mysql,centos yum mysql,centos 7 yum mysql,centos yum mysql5.6,centos配置yum源等相关知识,希望对您有所帮助,也希望大家多多支持linkedu.com
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
本文出自 “枫之歌” 博客 出处http://fengzhige.blog.51cto.com/3691377/1001588 </div>
初始化时出现以下警告
[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
本文出自 “枫之歌” 博客 出处http://fengzhige.blog.51cto.com/3691377/1001588 </div>