用JDBC连接MySQL数据库,出现错误:“Communications link failure:The last packet successfully received from the server was 344,068 milliseconds ago.  The last packet sent successfully to the server was 3 milliseconds ago.” 。在网上看到很多说是wait_timeout的问题,默认8小时,空闲超过8小时会报上述错误。但是我出错时距离上次成功写入间隔只有6分钟,为什么还会报这种错误??