首页

解决配mysql主从集群时报"IP address 192.168.1.x could not be resolved: Temporary failure in name resolution"

标签:mysql Warning,Temporary failure,my.cnf,ip resolved     发布时间:2019-05-17   

一、异常说明

在安装mysql主从cluster集群时报" 2019-05-14T10:14:52.712498Z 15 [Warning] IP address '192.168.1.204' could not be resolved: Temporary failure in name resolution"异常提醒,详情如下>>

二、解决方法

修改mysql的配置文件,如在my.cnf增加 skip-name-resolve项,并重启mysql

[root@centos-cluster-s19423 ~]# vi  /etc/my.cnf@b@...@b@skip-name-resolve@b@@b@[root@centos-cluster-s19423 ~]# service  mysqld  restart@b@停止 mysqld: [确定]@b@正在启动 mysqld: [确定]
  • ◆ 相关内容