开发者

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;

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜