数据库连接池 连接超时问题
作者:互联网
The last packet successfully received from the server was 314,213 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago.; nested exception is com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
日志报错信息:数据库连接异常,出现了超时的错误。
1、在JDBC url里配置了autoReconnect 属性,结果也未解决问题 ;autoReconnect=true;failOverReadOnly=false;
标签:ago,数据库,successfully,packet,milliseconds,autoReconnect,超时,was,连接池 来源: https://blog.csdn.net/weixin_40786663/article/details/110749152