当通过 TCP/IP 连接 MySQL 远程主机时,出现 ERROR 2013 (HY000): Lost connection to MySQL server during query
不论是直接命令行连接还是通过Navicat来连接,都会出现此问题。
MySQL版本是5.0.45,自行编译安装。
Google之后查的解决方案:
在MySQl的conf文件[mysqld]项下添加一个启动参数:
skip-name-resolve
问题解决.
另有未经证实的说法,直接flush host即可。
进行MySQL Replication如果出现此错误也可以用此方法解决,目前我实现的同步都是基于IP的,还没有用域名。
相关联动:
MySQL DNS Details
MySQL:show processlistでunauthenticated userによる負荷:skip-name-resolve

补充一条相关链接:
从MySQL得到最大的性能
http://fanqiang.chinaunix.net/db/mysql/2001-05-14/1379.shtml
虽然是manual上的,但是比自己找方便~
Very good site. Thank you.
http://forum.freeboards.net/?mforum=walmart free walmart coupons
Cool site. Thanks.
http://chanelhandbags.pbbgc.net chanel handbags
hypnotherapy analysis
[url=http://forums.megagames.com/forums/member.php?u=185476 ]natural penis enlargement no pills or weights[/url]
why is hypnotherapy popular in the us