Enable slow query log in Mysql 5.1 or later with out server restart

by rajesh 2014-02-14 10:59:59


We can enable slow query log with out restarting mysql from Mysql 5.1 or later version using the following queries.


SET GLOBAL slow_query_log = 'ON';
FLUSH LOGS;

Tagged in:

737
like
0
dislike
0
mail
flag

You must LOGIN to add comments