连接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

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

上一篇:Tomcat出现To prevent a memory leak, the JDBC Driver has been forcibly unregistered.问题的一种情况记录


下一篇:linux安装python