Monitoring used connections on mysql to debug 'too many connections'
Posted
by Nir
on Stack Overflow
See other posts from Stack Overflow
or by Nir
Published on 2010-03-16T09:51:33Z
Indexed on
2010/03/16
9:56 UTC
Read the original article
Hit count: 532
mysql
|mysql-query
On LAMP production server I get the 'too many connections' error from MYSQL occasionally, I want to add monitoring to find if the reason is that I exceed the max-connections limit.
My question: How can I query from mysql or from mysqladmin the current number of used connections? (I noticed that show status gives total connections and not the currently used ones.)
© Stack Overflow or respective owner