How can I turn on MySql Slow Queries in runtime?
Is there any way to turn Slow queries on when MySQL server in running? Because i cannot resta开发者_如何学Crt MySQL server since the manager in on vacation!
This is mostly a guess backed only by reading docs, but using something like this might work
SET GLOBAL log_slow_queries = '/some/log/path', long_query_time = 1;
精彩评论