How to check the number of connections to MySQL DB
843859Jul 27 2007 — edited Aug 1 2007Hi,
Is there some way to check the number of applications connected to a mysql database?
I have two different Java applications that will be using the same instance of MySQL.
My requirement is that, I want to close the MySQL instance while closing the Java application.
But before doing so, I want to make sure the other application is not connected to it.
Is there some way I can achieve this?
Your suggestions will be of great help.
Thanks,
Sandeep