show variables like'%general_log%';
#general_log ON
#general_log_file /home/data/mysql/localhost.log
set global general_log = ON;
tailf /home/data/mysql/localhost.log
mysql 操作日志查询
最新推荐文章于 2023-10-24 09:30:05 发布
show variables like'%general_log%';
#general_log ON
#general_log_file /home/data/mysql/localhost.log
set global general_log = ON;
tailf /home/data/mysql/localhost.log