日期:2014-05-18  浏览次数:20627 次

mysql5.5 Too many connections
 ERROR org.hibernate.util.JDBCExceptionReporter:78 - Data source rejected establishment of connection,  message from server: "Too many connections"


用hibernateTemplate 存数据时,连续存了11次,之后就会出现上面的错误

网上的方法发现mysql5.5安装目录下根本找不到对应的文件  my-innodb-heavy-4G.ini  下有max_connections  修改了下还是

相同的错误,没起作用

求帮忙
------解决方案--------------------
连接数过多?
我也新手不会用hibernate
不懂
jdbc还能看懂点。。
------解决方案--------------------
引用:
 ERROR org.hibernate.util.JDBCExceptionReporter:78 - Data source rejected establishment of connection,  message from server: "Too many connections"


用hibernateTemplate 存数据时,连续存了11次,之后就会出现上面的错误

……

代码贴出来一下。。