首页 > 代码库 > mysql: Data source rejected establishment of connection, message from server: "Too many connections"

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,可以借鉴
 
加大MySql的max_connections(最大连接数)
 
 
 
 

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