SET GLOBAL slow_query_log=1
[SQL]SET slow_query_log=1 [Err] 1229 - Variable 'slow_query_log' is a GLOBAL variable and should be set with SET GLOBAL
SHOW VARIABLES LIKE '%slow%' SET GLOBAL slow_query_log=1 SHOW VARIABLES LIKE '%slow%'
[SQL]SET slow_query_log=1 [Err] 1229 - Variable 'slow_query_log' is a GLOBAL variable and should be set with SET GLOBAL
SHOW VARIABLES LIKE '%slow%' SET GLOBAL slow_query_log=1 SHOW VARIABLES LIKE '%slow%'