【MySQL】Obtaining the current number of connections.

Connect to MySQL.

mysql -h <host> -P <port> -u <user_name> -p <db_name>

Number of thread connections.

show status like 'Threads_connected';
よかったらシェアしてね!
目次