How to view my sql queries
I am using a CMS based in PHP Mysql, and i want to see how each SQL query is processed when an action is triggered.
For example, when i click "view all posts", then what exactly is the complete query that was implemented.
One option is to go through the entire, which is huge and complicated. I wonder if there is an easier way, or a program that can help me achieve it?