Enable general_log by running:
SET GLOBAL log_output = 'TABLE'
SET GLOBAL general_log = 'ON'
Then view the contents of the general_log table to see SQL statements.
To turn this off, run
SET GLOBAL general_log = 'OFF'
Tags
mariadb
Enable general_log by running:
SET GLOBAL log_output = 'TABLE'
SET GLOBAL general_log = 'ON'
Then view the contents of the general_log table to see SQL statements.
To turn this off, run
SET GLOBAL general_log = 'OFF'