Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Why do cross-database statements break replication when using filters?

$
0
0

For example, say you you have table A and table B on the master and on the slave you've set up replicate-do-db = A.

Now if I do something like this:

USE B;
DROP TABLE A.sometable;

Why should this not work? I know why it doesn't work in the sense that I've used a database then operated on another one but why has MySQL been implemented this way?
Was it a conscious decision or is there some grander reason why this shouldn't/can't be made to work?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>