【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';
シェア!

この記事を書いた人

kenichiのアバター kenichi エンジニア・写真家 | Engineer and photographer

Nomadic worker who travels all over Japan and abroad; worked as a technical sales person for five years before going independent.
Works as a freelance engineer on website production and application development. Currently working to bring interesting things by interesting people to the world, while seeking to move abroad.

目次