
1 mercurylanded 2013 年 1 月 6 日 |
2 VYSE 2013 年 1 月 7 日 拿到cursor前conn.ping一下,断了的话就自动重连了 http://www.neotitans.com/resources/python/mysql-python-connection-error-2006.html |
3 ElmerZhang 2013 年 1 月 7 日 set wait_timeout=xxxx 设置闲置连接超时时间 |