端子出现这个报错怎么解决com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was 128,287,721 milliseconds ago.  The last packet sent successfully to the server was 128,287,721 milliseconds ago. is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem.
起床战争端子 版本1.3.4
起床战争端子 版本1.3.4
 本帖最后由 schorsch 于 2018-9-10 02:24 编辑 
没用过此插件
是https://www.spigotmc.org/resources/bedwars-rel.6799/
这个么。。
看了下更新日志
在1.3.5的时候重写了mysql 因为有很多的问题。
MySQL stats rewrite
As there have been many issues with MySQL support, the whole database system has been rewritten.
最新版本是1.3.6
基本是这
复制代码autoReconnect=true
如果不是这个的话。就当我没有答(小声bb)
没用过此插件
是https://www.spigotmc.org/resources/bedwars-rel.6799/
这个么。。
看了下更新日志
在1.3.5的时候重写了mysql 因为有很多的问题。
MySQL stats rewrite
As there have been many issues with MySQL support, the whole database system has been rewritten.
最新版本是1.3.6
基本是这
- jdbc:mysql://mysql_ip地址:mysql端口/数据库名称?autoReconnect=true&useUnicode=true&characterEncoding=utf-8&useSSL=false
如果不是这个的话。就当我没有答(小声bb)
数据库相应太快了  wait_timeout 这个改长点
dincan 发表于 2018-9-10 09:22
数据库相应太快了 wait_timeout 这个改长点
哪里改是在mysql配置吗?
autoReconnect=true 这里开启 安装目录里改
dddfly 发表于 2018-9-10 04:14
哪里改是在mysql配置吗?
https://blog.csdn.net/cenfei78325747/article/details/7854611
看这篇博客
dddfly 发表于 2018-9-10 11:14
哪里改是在mysql配置吗?
默认是装载C盘的 你右键桌面的图标属性看地址