Bug #31756 binlog-ignore-db is ignored in certain cases

Submitted: 22 Oct 2007 15:36 Modified: 22 Oct 2007 16:08
Reporter: Dominik Jungowski Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Replication Severity:S2 (Serious)
Version:4.1.11 OS:Any
Assigned to: CPU Architecture:Any
Tags: binlog-ignore-db ignored

[22 Oct 2007 15:36] Dominik Jungowski
Description:
When you execute a query like "INSERT INTO db1.table" but are not currently using db1, the query will be replicated, even though db1 is set to be ignored

How to repeat:
Set up a replication and set
binlog-ignore-db = mysql

now go to the mysql console on the master and type the following:
mysql> use test;
mysql> INSERT INTO mysql.user (User) VALUES ('foobar');

now the statement is replicated, even though the database is set to be ignored for the replication
[22 Oct 2007 16:08] Hartmut Holzgraefe
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on
how to report a bug at http://bugs.mysql.com/how-to-report.php

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.