标签:mysql navicat for mysql linux
首先查看mysql错误日志: cd /usr/local/mysql/var/
tail VM_79_224_centos.err
日志名字可能不一样,依实际情况而定
打开看到以下类似错误:
110617 14:04:10 [Warning] IP address ‘19.200.90.16‘ could not be resolved: Temporary failure in name resolution
110617 14:07:48 [Warning] IP address ‘19.200.57.44‘ could not be resolved: Temporary failure in name resolution
这个错误日志表示mysql对ip地址进行dns解析,解决的办法就是修改my.cnf配置文件取消dns解析
如下操作:
vi /etc/my.cnf
在my.cnf中添加一行:
skip-name-resolve
保存,退出,重启mysql服务,ok
navicat for mysql 客户端操作mysql非常慢问题
标签:mysql navicat for mysql linux
原文地址:http://blog.51cto.com/itafei/2094770