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 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...
181120 4:37:03 [ERROR] COLLATION ‘latin1_swedish_ci‘ is not valid for CHARACTER SET ‘utf8‘
181120 4:37:03 [ERROR] Aborting

181120 4:37:03 [Note] /usr/local/mysql//bin/mysqld: Shutdown complete

Installation of system tables failed! Examine the logs in
/usr/local/mysql/data/ for more information.
解决方案:
造成这种错误原因是在配置参数时utf8-general_ci写错了,应该是utf8_general_ci,
如果不想重新安装数据库那就在my.cnf文件中[mysqld]下面增加一行:
character_set_server=utf8

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

原文地址:https://www.cnblogs.com/Mr-Wei/p/10010148.html

时间: 2024-10-21 10:06:22

WARNING: The host 'WeiLei' could not be looked up with resolveip.的相关文章

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

Linux SSH 远程登录错误及解决办法 WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!

[问题] [[email protected]_EXERCISE mnt]# scp [email protected]:/etc/profile.d/motd1.sh /etc/profile.d/ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@