Bug #52330 | mysqlbinlog not filtering log events for a given database | ||
---|---|---|---|
Submitted: | 24 Mar 2010 14:16 | Modified: | 26 Mar 2010 14:00 |
Reporter: | Ravi Thati | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S2 (Serious) |
Version: | mysqlbinlog Ver 3.3 for pc-linux | OS: | Any (mysqlbinlog Ver 3.3 for pc-linux-gnu at i686) |
Assigned to: | CPU Architecture: | Any | |
Tags: | binlog, filtering, mysqlbinlog, recovery |
[24 Mar 2010 14:16]
Ravi Thati
[24 Mar 2010 14:35]
Valeriy Kravchuk
This is not a bug. Our manual (http://dev.mysql.com/doc/refman/5.1/en/mysqlbinlog.html#option_mysqlbinlog_database) clearly says: "- Unless db_name is selected as the default database, statements are not output, even if they modify tables in db_name."
[24 Mar 2010 14:39]
Ravi Thati
Thanks Valeriy Kravchuk for the reply. If that is the case, how to filter such events using mysqlbinlog utility? If there is already a way, please let me know. How about mysql sys database events??
[24 Mar 2010 14:56]
Valeriy Kravchuk
There is no way, yet, to do it with mysqlbinlog only. Check old feature request, Bug #20205.
[26 Mar 2010 14:00]
Ravi Thati
Any road map set for this feature?