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 操作日志查询
猜你喜欢
转载自blog.csdn.net/CTLLIN/article/details/119750569
今日推荐
周排行