首页 / MYSQL / WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......
WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含1153字,纯文字阅读大概需要2分钟。
内容图文
![WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......](/upload/InfoBanner/zyjiaocheng/518/3a10cb4736bf4a98a25e5d4aab0c30f9.jpg)
Linux系统安装MySQL,环境参数:
硬件配置:
CPU: Xeon(R) CPU E5-2650 v4 @ 2.20GHz 8核
内存:16G
硬盘:系统盘200GB 数据盘1TB
操作系统
CentOS 7.2 64位
数据库
MySQL 5.6.43
执行scripts/mysql_install_db --user=mysql脚本报错:
WARNING: The host ‘db01‘ could not be looked up with /data/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 !
解决办法很简单,把主机名和IP对应关系写入/etc/hosts下即可,我的脚本如下:
echo "10.36.7.155 db01" >> /etc/hosts
WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......
标签:主机 简单 work data aries instead xeon 主机名 mon
本文系统来源:https://www.cnblogs.com/JohanChan/p/12092337.html
内容总结
以上是互联网集市为您收集整理的WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......全部内容,希望文章能够帮你解决WARNING: The host 'db01' could not be looked up with /data/mysql/bin/resolveip. This probably means that your libc libraries are not 100 % compatible with this binary MySQL version......所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。