I'm aware of mysql_query("show processlist"); however what I need is a live feed of the queries being performed as I test my websites on localhost (IIS7+PHP5) on WINDOWS 7.
Why? Because I have to perform optimization on my poorly structured database and I want to identify all the queries and go through all of them, however my php scripts dynamically generates queries and it takes a long time to go through my hundreds of PHP files to add "error_log()" to all of the queries.
I basically want to view the queries live as they are running, or perhaps save them to a text file so I can view them. Perhaps there's a way to have an automatically refreshing list of "show processlist" inside command prompt?