您的位置: 首页 > 文章 > 连接mysql出现too many connections解决方法 连接mysql出现too many connections解决方法 分类: 文章 • 2022-10-08 00:16:37 1 编辑/etc/my.cnf文件,增加一行max_connections=10000,默认为100 vim /etc/my.cnf 2 重启mysql服务 service mysql restart