Is it possible to display all the query strings in Magento? I really like to see what queries are executed.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not 100% sure this will catch every query, but most run through the query method
Zend_Db_Adapter_Abstractquerymethod inWith that in mind, you could temporarily add some debugging statements (to a copy you make in
app/code/local/Mageto be safe)If you need to catch them all, you’d be better off doing this at the MySQL level (which isn’t always possible depending on your host/IT situation)