解决mysql 问题:1040 too many connections Step1: 执行show variables like “max_connections”; show variables like '%max_connections%'; Step2:再执行 set GLOBAL max_connections=大小自己定义; set GLOBAL max_connections=10000; 完美搞定 MySQL:1040 too many connections