码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2020-07-28 17:05:15      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:sql   文件   serve   pack   修改   com   false   ruid   ati   

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

解决方法:

找到application-druid.yml文件

将testOnBorrow: false

修改为

testOnBorrow: true

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

标签:sql   文件   serve   pack   修改   com   false   ruid   ati   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!