linux mysql 链接数太小

Data source rejected establishment of connection,  message from server: "Too many connections"    is not eligible for getting processed by all BeanPostProcessors 

这个错误是由于mysql连接数已达上限导致的,默认的连接数是100 

在linux目录下找到/etc/my.cnf

一般连接数设置500-1000合理范围

max_connections=1000

service mysqld stop

service mysqld start

重启mysql

原文地址:https://www.cnblogs.com/abel-he/p/9007397.html