全部博文(321)
分类: LINUX
2009-07-29 16:12:53
mysql 连接出现如下错误:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 0
mysql> show variables like '%connect_timeout%';
+-----------------+-------+
| Variable_name | Value |
+-----------------+-------+
| connect_timeout | 10 |
+-----------------+-------+
在网上查了资料说增大connect_timeout 值可以解决这个问题