查看配置
show variables like ‘%general%‘;
开启日志功能
set GLOBAL general_log=‘ON‘;
设置日志存储路径
SET GLOBAL general_log_file=‘C:/phpStudy/www/xxx.php‘
;
show variables like ‘%general%‘;
set GLOBAL general_log=‘ON‘;
SET GLOBAL general_log_file=‘C:/phpStudy/www/xxx.php‘
;