解决MYSQL错误:ERROR 1040 (08004): Too many connections时间:2023-03-09 08:40:08 方法一: show processlist; show variables like 'max_connections'; show global status like 'max_used_connections'; set GLOBAL max_connections=; 方法二: 修改my.ini: max_connections= 这种方法要重启。