开发者

mysql: only log a certain db or ignore other db's?

开发者 https://www.devze.com 2022-12-09 08:45 出处:网络
I\'m logging output with log = /var/log/mysql/query.log and this works ok, but I only want to log requests to one database and not the others.How开发者_StackOverflow社区 can I do this?

I'm logging output with

log = /var/log/mysql/query.log

and this works ok, but I only want to log requests to one database and not the others. How开发者_StackOverflow社区 can I do this?

Thanks!


use mysql proxy instead.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号