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%'

 

posted @ 2016-12-20 10:54  papering  阅读(325)  评论(0编辑  收藏  举报