项目用druid,长时间不访问应用,再访问又链接不上了数据库了

问题:据库和应用在同一台机,数据库用mysql5.6.20,已经升级druid到最新的1.0.7版本,访问的是localhost的mysql,放一个晚上不访问,次日访问就报错了,重启服务正常,错误提示:html [Request processing failed; nested exception is org.hibernate.exception.GenericJDBCException:
相关文章
相关标签/搜索