[英]How can a i detect a mysql changes?
i'm looking for a way to detect when an sql statement is fired, which statement was it and which database was modified. 我正在寻找一种方法来检测何时触发sql语句,它是哪个语句以及哪个数据库被修改了。 I'm looking for a way to catch this data everytime an sql statement is executed on a mysql server (Linux server/Ubuntu).
我正在寻找一种在mysql服务器(Linux服务器/ Ubuntu)上每次执行sql语句时捕获此数据的方法。
Thanks. 谢谢。
How about with triggers? 触发器如何? I've built complex auditing systems with them before, and they're just great.
我之前已经使用它们构建了复杂的审核系统,它们很棒。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.