I would like to use mysql query profiler in the php script. So that after i execute any queries it need to display the execution time of the query.
Suggest the best way to use this also share any other scripts like query profiler.
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.
Before:
You need to set the
profilingto1before you execute your query in order to get access to the profiling information.After:
After you’ve executed the query you want to test you need to execute the following query.
For more information: http://dev.mysql.com/doc/refman/5.0/en/profiling-table.html