How to list all open MYSQL connection using PHP?

Discussion in 'Programming/Scripts' started by modpriest, Feb 27, 2008.

  1. modpriest

    modpriest New Member

    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! ;)
     
  2. topdog

    topdog Active Member HowtoForge Supporter

    All you need do is run this query on the server.
    Code:
    SHOW FULL PROCESSLIST
    
     

Share This Page