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......

  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......

原文地址:https://www.cnblogs.com/JohanChan/p/12092337.html

时间: 2024-10-15 21:54:41

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 'r6' could not be looked up with /usr/local/mysql/bin/resolveip.

初始化MySQL数据库提示以下信息: # /usr/local/mysql/scripts/mysql_install_db > --defaults-file=/etc/my.cnf > --basedir=/usr/local/mysql > --datadir=/var/mysql/data > --user=mysql WARNING: The host 'r6' could not be looked up with /usr/local/mysql/bin/resolv

WARNING: The host 'WeiLei' could not be looked up with resolveip.

[[email protected] data]# /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql/ --datadir=/usr/local/mysql/data/WARNING: The host 'WeiLei' could not be looked up with resolveip.This probably means that your libc libraries

WARNING: The host '$hostname' could not be looked up with resolveip. (转)

环境介绍:CentOS6.X MySQL版本:5.5.X以上 执行scripts/mysql_install_db脚本时,抛出一条Warning,主机名和IP地址无法解析: The host '$hostname' could not be looked up with resolveip. 随即仔细检查了这个脚本文件 在327行至351行发现了这个告警信息的代码: 解决办法: 把主机名和IP对应关系写入/etc/hosts里面即可 #echo "172.27.1.78 mysql78"

scp不可用:WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! After doing ssh are you seeing this error.No problem it can be solved. [email protected]:/tmp# ssh 10.10.0.16 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFI

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED

原文地址:http://linuxme.blog.51cto.com/1850814/375752 今天将阿里云服务器更换了一下系统盘,重启成功后,再次通过终端访问阿里云的公网IP报以下信息: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Linux:SSH错误"WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! "

[email protected]:~$ scp /home/hadoop/.ssh/authorized_keys node3:/home/hadoop/.ssh/ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED 问题

1.问题描述 最近重装了41机器,我在40重新ssh登录41机器时出现一下警告: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING

SSH登录警告(WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!)

在配置本机与docker容器实现ssh无密码访问时出现以下报错 # federico @ linux in ~ [18:35:52] C:127$ sudo ssh-copy-id -i .ssh/id_rsa.pub '[email protected]'/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: ".ssh/id_rsa.pub"/usr/bin/ssh-copy-id: INFO: attemptin

SSH登陆错误 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

ssh连接服务器的时候有时候会遇到以下错误 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NAST