show processlist;
show variables like '%max_connections%';
set GLOBAL max_connections = 200;
或者修改 /etc/my.cnf,[mysqld] 中添加:
/etc/my.cnf
[mysqld]
max_connections=1000