c3p0连接池配置文件中maxIdleTime小于数据库的timeout时间,为什么还会出现了使用了数据库已经超时的连接
小菜牙 2018-06-07 11:02:19 在项目中报错:The last packet successfully received from the server was 81843482 milliSeconds,the last packer send successfully to the server wes 81843482 milliseconds ago,is longer than the server configured values of "wait_timeout".......
配置文件中配置的有:spring.datasource.maxIdleTime=1800
数据库里面的timeOut_time 是28800,
理论上不是应该不会出现这种情况么?
数据库连接上配置的还有autoReconnect=trrue,
很是困惑,跪求各位大神能指明可能问题原因