Druid 使用

druid链接之后不释放,导致链接数据库超时,由于原来使用的是1.016的版本,需要升级到最新的版本,这个是druid的一个bug。升级最新版本解决问题

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet successfully received from the server was 490 milliseconds ago.  The last packet sent successfully to the server was 489 milliseconds ago.

猜你喜欢

转载自wqshren.iteye.com/blog/2345218