show variables like "general_log%";

SET GLOBAL general_log = 'ON';
SET GLOBAL general_log = 'OFF';

相关文章: