您的位置:首页 > 编程语言 > Go语言

异常The last packet sent successfully to the server was 0 millise 4000 conds ago...

2017-04-04 15:49 405 查看
使用阿里的druid包出现有The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

或者单纯使用jdbc提示No operations allowed after connection closed

说明连接太久没用已经被关闭,但是程序仍然在缓冲池里寻找连接

解决方法:

有可能是配置文件写错,或者jdbc驱动包问题
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  异常 java
相关文章推荐