Day: September 17, 2020
MySQL show status – active or total connections
The number of connection attempts (successful or not) to the MySQL server. You can see the number of active connections either through the Threads_connected status variable: Threads_connectedThe number of currently open connections. mysql> show status where `variable_name` = 'Threads_connected'; +-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | Threads_connected | 4 | +-------------------+-------+ 1 row…