Chijiaodaxie
Chijiaodaxie

Reputation: 15

How to just record the special user's action in Mysql's binlog

I want to execute the specific user's modification to the mysql to a mirror database, after research on the search engine, I know I can open turn on the general log config, and select the IDs that produced by the specific user, and map them to binlog and get the sqls we need, but this is a little complex.

can I just record the sql that produced by the specific user?? if yes, things will turn out to be much easier.

Upvotes: 0

Views: 57

Answers (0)

Related Questions