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

posted @ 2018-05-08 11:46  译林  阅读(170)  评论(0编辑  收藏  举报