mysql设置和显示最大连接数

1、查看最大连接数
show variables like '%max_connections%';
2、修改最大连接数
set GLOBAL max_connections = 200;

原文地址:https://www.cnblogs.com/weihanhan/p/14789526.html