数据库
geek250
这个作者很懒,什么都没留下…
展开
-
mycat 时不时报 Communications link failure
网上说法:MySQL服务器默认的空闲时间超过8个小时,MySQL将自动断开该连接,而连接池却认为该连接还是有效的,当应用申请使用该连接时,就会报错:Communications link failure,The last packet successfully received from the server was * millisecond ago.The last packet success原创 2017-06-22 18:17:52 · 3554 阅读 · 0 评论 -
mybatis事务路径引发的“血案”
1. 超时情况出现这事还得从几个星期前说起,某天女神说项目的数据库连接有些问题。项目跑着跑着就会出现Communications link failure,The last packet successfully received from the server was * millisecond ago.The last packet successfully sent to the server原创 2017-07-07 10:37:04 · 767 阅读 · 0 评论