Log in to MySQL via console:

Run:

View table mysql.general_log e.g. with phpMyAdmin or command:

Do not forget to disable logging again:

Source

  [email protected]