My Background is with MS-SQL and not MySQL and I am struggeling to figure out how to debug something,
I need to see exactly what querys (actually inserts) a webservice is executing in a MySQL database, However I cannot find an equivelent to MS-SQL Profiler that is free (we have no budget). Does anyone have any suggestions?
Thanks
Ian
Query Profiler, built into dbForge Studio for MySQL, is the best query optimization tool to tune MySQL queries and investigate query performance issues in an efficient and fast way. It helps build up a picture of how the queries are run to access data and what operations impact your application.
MySQL is free and open-source software under the terms of the GNU General Public License, and is also available under a variety of proprietary licenses.
MySQL Community Edition is the freely downloadable version of the world's most popular open source database. It is available under the GPL license and is supported by a huge and active community of open source developers.
Try that:
mysql> SET profiling = 1;
mysql> SELECT * FROM {your_table}
mysql> SHOW PROFILES;
or
mysql> SHOW PROFILE;
More info: http://dev.mysql.com/doc/refman/5.0/en/show-profile.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With