i need to debug a php web application. The problem is somewhere in the mysql query section. I need to look at every query that my app dynamically generates and the output given by the mysql database. How can i do that ? Is there some script like phpmyadmin has that i can include in my app ? or can i install a software that will monitor every query made by the app? I am not sure what exactly i am looking for as i am new. But you get the idea.