WARNING: The host 'localhost' could not be looked up with /usr/local/mysql//bin/resolveip
2015-11-10 17:40
756 查看
[root@mysqlserver8 mysql]# scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ --datadir=/data/mysql/mysql_data --explicit_defaults_for_timestamp
WARNING: The host 'localhost' could not be looked up with /usr/local/mysql//bin/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 !
原因:不能解析本机主机名
解决办法:
在/etc/hosts添加
192.168.1.100 localhost
WARNING: The host 'localhost' could not be looked up with /usr/local/mysql//bin/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 !
原因:不能解析本机主机名
解决办法:
在/etc/hosts添加
192.168.1.100 localhost
相关文章推荐
- mysql帮助的使用
- MySQL 获得当前日期时间的函数小结
- Overview of MySQL Programs
- mysql增量备份
- 修改mysql用户密码的方法总结
- 小白学习mysql之优化基础(EXPLAIN的连接类型)
- MySQL中文乱码解决方案
- MySQL使用小记
- Mysql常用使用技巧
- mysql 字符集
- mysql 获取当月de日期信息
- MySQL安装图解教程
- mysql常用doc命令大全
- mysql 博客源码
- txt文档批量向MySQL导入数据
- 【原创】MySQL5.7 JSON类型使用介绍
- 【原创】MySQL5.7 JSON类型使用介绍
- MySQL5.7 JSON类型使用介绍
- Mysql常用status
- Mysql学习篇之---四种Blob类型