FIre the following in the given order in you MySQL AB
- Execute
SET GLOBAL log_output = 'TABLE'; - Execute
SET GLOBAL general_log = 'ON'; - select * from
mysql.general_log
mysql.general_log : This table contains following columns
|
|
|
|
|
argument column stores the query fired in database.
If you want the output to be stored in file then you can use the following
|