首页 > 数据库技术 > 详细

MySQL auttoReconnect

时间:2017-07-19 22:46:16      阅读:318      评论:0      收藏:0      [点我收藏+]

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 866,595,528 milliseconds ago.  The last packet sent successfully to the server was 866,595,528 milliseconds ago. is longer than the server configured value of ‘wait_timeout‘. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property ‘autoReconnect=true‘ to avoid this problem.

MySQL auttoReconnect

原文:http://www.cnblogs.com/diyunpeng/p/7208380.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!