mysql连接数

show global status like 'Max_used_connections'; #已经使用的连接数
show variables like 'max_connections'; #mysql的最大连接数
set global max_connections=500;    #修改最大连接数为500
原文地址:https://www.cnblogs.com/kylingx/p/13065100.html