问题背景:配置mybatis后,超过8小时未对数据库进行操作,提示“is longer than the server configured value of 'wait_timeout'”,故数据库出现无法连接的问题。
后面经确认,在mybatis配置文件中需加入以下内容,加入该内容后已部署上去,待测试结果。
问题背景:配置mybatis后,超过8小时未对数据库进行操作,提示“is longer than the server configured value of 'wait_timeout'”,故数据库出现无法连接的问题。
后面经确认,在mybatis配置文件中需加入以下内容,加入该内容后已部署上去,待测试结果。