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;
版权声明:本文为weixin_40786663原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。