PDA

View Full Version : How to list all open MYSQL connection using PHP?


modpriest
27th February 2008, 05:45
My script have a lot of connection to MYSQL database. Will i able to show all connection that opened and connected? from a single php script and all have open (on MYSQL database)!

Please help me! I'm noob! ;)

topdog
27th February 2008, 08:49
All you need do is run this query on the server.

SHOW FULL PROCESSLIST