show connections in mysql code example Example: mysql show current connections show status where `variable_name` = 'Threads_connected';