I want MySQL to treat all queries as slow queries and log them into a table.
MySQL version is 5.1.69. I did the following:
set global log_output = "TABLE";
set global log_slow_queries = 1;
set global long_query_time = 0;
However, the table mysql.slow_log
is empty although queries have been executed. Why? The general_log is also enabled and mysql.general_log
contains all queries.