MySQL auttoReconnect
Posted 规格严格-功夫到家-哈工大威海人
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了MySQL auttoReconnect相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章