1040 too many connections

先重启mysql。

登录成功后执行以下语句查询当前的最大连接数:select VARIABLE_VALUE from information_schema.GLOBAL_VARIABLES where VARIABLE_NAME='MAX_CONNECTIONS';

执行以下语句修改最大连接数:set global max_connections = 1000;

posted @ 2019-01-08 14:28  小泉哥  阅读(968)  评论(0)    收藏  举报