mysql view the number of connected services, and the maximum number of connections

show processlist;
show variables like 'max_connections';

Guess you like

Origin www.cnblogs.com/lshan/p/11322260.html