show status like '%connect%';
show processlist;
SHOW VARIABLES LIKE '%max_connections%';
set GLOBAL max_connections = 5000;
MySql:设定最大连接数
最新推荐文章于 2024-04-09 18:17:06 发布
show status like '%connect%';
show processlist;
SHOW VARIABLES LIKE '%max_connections%';
set GLOBAL max_connections = 5000;