为什么80%的码农都做不了架构师?>>> 1040是超过最大连接数了,不修改配置文件的话,试试在mysql shell里面执行 set global max_connections = 10000; 转载于:https://my.oschina.net/jywm/blog/2997070