1. 程式人生 > >linux mysql 鏈接數太小

linux mysql 鏈接數太小

OS man sql ces any 目錄 service source RoCE

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

linux mysql 鏈接數太小