show variables like "general_log%";
SET GLOBAL general_log = 'ON';SET GLOBAL general_log = 'OFF';tail -f /var/lib/mysql/changchun.log | grep t_base_appecho '' > /var/lib/mysql/changchun.log本文共 245 字,大约阅读时间需要 1 分钟。
show variables like "general_log%";
SET GLOBAL general_log = 'ON';SET GLOBAL general_log = 'OFF';tail -f /var/lib/mysql/changchun.log | grep t_base_appecho '' > /var/lib/mysql/changchun.log转载于:https://www.cnblogs.com/littlehb/p/10493785.html