Score:0

How to ignore DATABASE.TABLE SQL queries in binlog in MySQL for the databases I don't want to replicate

th flag

I set up replication for 1 database with binlog_do_db setting. But there are some queries like:

USE replicated_db;
DELETE not_replicated_db.table;

Which breaks replication (with an error about not_replicated_db is not existing on the slave)

How I can ignore not_replicated_db.table queries? I tried to change binlog_format from MIXED to ROW/STATEMENT but it didn't affect it.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.