set global log_output=file; set global general_log_file='D:/data/data/general.log'; set global general_log=on; set global general_log=off;