当前位置:Gxlcms > 数据库问题 > mysql 修改max_connections

mysql 修改max_connections

时间:2021-07-01 10:21:17 帮助过:3人阅读

%max_connections%;

使用命令set global max_connections来设置最大连接数:

set global max_connections=1400;

使用命令show variables 来查看是否已经生效。如果显示数字为你所设置的新的值,说明生效。

  2.修改my.conf里面的max_connections为你希望的新数值,以使下次重启后生效。

推荐阅读:

【MySql】修改max_connections 参数的方法 

mysql 修改max_connections

标签:

人气教程排行