淡语

导航

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

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

解决方法:

找到application-druid.yml文件

将testOnBorrow: false

修改为

testOnBorrow: true

posted on 2020-07-28 15:34  object360  阅读(2825)  评论(0编辑  收藏  举报