连接mysql报错:Communications link failure The last packet successfully received from the server was 3,544 milliseconds ago

时间:2020-07-28 17:47:33   收藏:0   阅读:8530

异常错误:Communications link failure  The last packet successfully received from the server was 3,544 milliseconds ago

解决方法:

找到application-druid.yml文件

将testOnBorrow: false

修改为

testOnBorrow: true

原文:https://www.cnblogs.com/object360/p/13391412.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!