>The utility 'Toad' is popular.
"Toad" strictly Oracle specific, the OP wants to use MySQL.
DBVisualizer is implemented in Java via JDBC, and works with all databases including MySQL.( free version, slightly less functionality than pay version )
It depends on what you want really.
If you want to log all the SQL statements that go from your application to a database, then the likes of P6SPY will do that for you. http://www.p6spy.com/
It's like a virtual JDBC driver, which intercepts all JDBC calls and passes them on to your real JDBC driver.It can log all the SQL, including the real parameters from a preparedstatement.
regards,
Owen