mysql连接数

show global status like 'Max_used_connections'; #已经使用的连接数
show variables like 'max_connections'; #mysql的最大连接数
set global max_connections=500;    #修改最大连接数为500
posted @ 2020-06-08 13:13  kylingx  阅读(139)  评论(0编辑  收藏  举报