异常The last packet sent successfully to the server was 0 milliseconds ago...

    xiaoxiao2021-03-25  139

    使用阿里的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驱动包问题
    转载请注明原文地址: https://ju.6miu.com/read-12400.html

    最新回复(0)