At log tab, it shows :

                      Your current Log Destination is set to FILE.
 For logs to be viewed within Workbench they must be configured to be sent to TABLE.
             This option is only available in MySQL version 5.1 and newer.
  Fore more information read http://dev.mysql.com/doc/refman/5.1/en/log­tables.html

I am new to MYSQL and currently work with Workbench. I need to view query logs. Can you please show me step by step clearly how to make the log tab show query logs?


I would recommend to not use table logs, as they have a non insignificant impact on system performance. This is because MySQL will write to the log tables for every single query and the performance hit is greater if your DB is busier, exact the opposite of what you normally want.

It shouldn't be too difficult to read the log files in a terminal window instead.

Should you really want to use Workbench for this, please refer to the documentation (updated link) and try to follow it and if you have a problem with this, come back with a specific question.

  • I enabled genaral-log in workbench but now I don't know which file contains logs ? – JatSing Nov 7 '11 at 9:07
  • The location is system specific. What platform are you on? – Sven Nov 7 '11 at 9:33
  • Window 7. I connected to Server Administrator then in configuration -> option files -> log files I ticked on general-logs. – JatSing Nov 7 '11 at 10:13
  • Is your MySQL server on Windows 7 as well or is just the Workbench running there? – Sven Nov 7 '11 at 11:28
  • Both MySQL server and workbench are installed on Windows 7. I am running local host. – JatSing Nov 8 '11 at 1:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.