失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > The driver has not received any packets from the server

The driver has not received any packets from the server

时间:2023-02-13 09:16:18

相关推荐

The driver has not received any packets from the server

解决方法:

jdbc的url添加参数:

jdbc.url=jdbc:mysql://localhost:3306/totosea?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&failOverReadOnly=false

在mysql的安装目录下找到my.ini中添加:将mysql回收空闲连接的时间变长,mysql默认回收时间是8小时

wait_timeout=31536000interactive_timeout=31536000

如果觉得《The driver has not received any packets from the server》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。