标签:ade run col color bsp sql ogg style tap
ProxySQL能够记录完整的查询日志,是通过查询规则来配置,粒度可大可小。
首先,全局启用logging
SET mysql-eventslog_filename=‘queries.log‘;
变量需要load到runtime,最后save到磁盘
LOAD MYSQL VARIABLES TO RUNTIME; SAVE MYSQL VARIABLES TO DISK;
标签:ade run col color bsp sql ogg style tap
原文地址:https://www.cnblogs.com/geek-ace/p/9567366.html