I run a site at localhost and I would like to see which queries are executed.
I’ve seen that some pages execute a lot of queries (eg 107) and I would like to see which are all these,as I think they’re a lot..
(I know how many queries are executed, as the queries are executed through a function which also stores at a global value the number of queries)
Is it possible?
Thanks!
Modify the function that you use to execute queries, so that it will log them into a file or just output them at the bottom of the page for instance.
There is no tool or (built-in) function that would tell you what was executed on some specific request.