mysql> show status where `variable_name` = 'Threads_connected'; +-------------------+-------+ | Variable_name | Value | +-------------------+-------+ | Threads_connected | 4 | +-------------------+-------+ 1 row in set (0.00 sec)... or through the show processlist command:mysql> show processlist; +----+------+-----------------+--------+---------+------+-------+------------------+ | Id | User | H..