阅读背景:

Mysql数据库“Communications link failure due to underlying exception”问题

来源:互联网 

MySQL默认的空闲等待时间是8个小时,一旦空闲超过8个小时,就会抛出“Communications link failure due to underlying exception”异常,修改/etc/my.cnf(windows下为my.ini),将超时时间设置为30天,在[mysqld]后面加入:MySQL默认的空闲等待时间是8个小时,一旦空闲超过8个小时,就会抛出“Communicati




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: