show variables like '%max_connections%';
set GLOBAL max_connections=1000;

mysql 1040 to many 解决办法俩句SQL完美解决_Mysql