美文网首页
Mysql -1040 too many connection

Mysql -1040 too many connection

作者: 土豆特别想爬山 | 来源:发表于2019-03-20 10:19 被阅读0次

先重启mysql:

先查看docker镜像:docker ps -a

找到mysql 的 CONTAINER ID,重启:docker restart {container_id}

然后查看最大连接数:

show variables like "max_connections";

设置最大连接数:

set GLOBAL max_connections=1000;

相关文章

网友评论

      本文标题:Mysql -1040 too many connection

      本文链接:https://www.haomeiwen.com/subject/vdnamqtx.html