show variables like '%max_connections%----查询最大的连接数
show status like 'Threads%'--------查询线程连接数目
Threads_running--当前并发数目
Threads_connected--当前打开的连接数目
show variables like '%max_connections%----查询最大的连接数
show status like 'Threads%'--------查询线程连接数目
Threads_running--当前并发数目
Threads_connected--当前打开的连接数目
转载于:https://www.cnblogs.com/blogFree/p/3779850.html