# neues slow log beginnen logrotate -f /etc/logrotate.d/mysql-server
SHOW GLOBAL VARIABLES like "%long_query_time%";
SET GLOBAL long_query_time=0;
-- so lange warten wie man will
SET GLOBAL long_query_time=1;
SHOW GLOBAL VARIABLES like "%long_query_time%";
# neues slow log beginnen logrotate -f /etc/logrotate.d/mysql-server