mysql: Data source rejected establishment of connection, message from server: "Too many connections"

http://www.oschina.net/question/558677_66703

com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: Data source rejected establishment of connection,  message from server: "Too many connections"
 
 
"Too many connections"错误
尝试加大 MySQL 的 max_connections 配置吧,好好检查服务是否有连接泄漏的问题,关键是有没有关闭连接
mysql默认配置的是100,创行服务器配置的都是1000,可以借鉴
 
 
 
 
 
posted @ 2014-11-09 09:20  程序员斯文  阅读(281)  评论(0编辑  收藏  举报