当前位置:
首页 >
eclipse:项目启动MySQL报错:The last packet successfully received from the server was x milliseconds ago
发布时间:2025/3/12
21
豆豆
生活随笔
收集整理的这篇文章主要介绍了
eclipse:项目启动MySQL报错:The last packet successfully received from the server was x milliseconds ago
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
原因是数据库设置了连接回收时长、这个时候系统缓冲池不知道会继续使用被回收的连接导致报错
解决方法:Navicat可视化工具直接执行: wait_timeout=86400或者更大将回收空闲连接的时间变长
总结
以上是生活随笔为你收集整理的eclipse:项目启动MySQL报错:The last packet successfully received from the server was x milliseconds ago的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: ❤️六W字《计算机基础知识》(五)(建议
- 下一篇: php对mysql的操作教程,php与M