下面是正常初始化后提示的信息,这篇文章很重要
[root@dataserver scripts]# ./mysql_install_db --basedir=/application/mysql --datadir=/application/mysql/data/ --user=mysql
##指定mysql安装路径,指定数据文件夹data路径,指定用户初始化
WARNING: The host ‘dataserver‘ could not be looked up with resolveip.
警告:不能用resoleip查找主机的数据表。
This probably means that your libc libraries are not 100 % compatible
这可能意味着您的libc库并不是100%兼容的使用这个二进制MySQL版本。
with this binary MySQL version. The MySQL daemon, mysqld, should work
MySQL守护进程mysqld应该工作
normally with the exception that host name resolving will not work.
通常情况下,主机名解析不会起作用。
This means that you should use IP addresses instead of hostnames
这意味着你应该使用IP地址而不是主机名
when specifying MySQL privileges !
在指定MySQL特权时!
Installing MySQL system tables...
OK
Filling help tables...
<