Quantcast
Channel: MySQL Forums - Replication
Viewing all articles
Browse latest Browse all 1562

Start replication on a new database (1 reply)

$
0
0
Hi guys, I have a bit of an esoteric question...

I have a simple replication setup with one master and two replication slaves. One slave replicates all databases EXCEPT for one (replicate-ignore-db), the other uses replicate-do-db to ONLY replicate the DB the first one does not. Both are in sync with the master.

I would like to move all replication to the "second" slave (the one that currently replicates only one DB), preferably without stopping the master. I thought I could stop both slaves, copy the DBs over and restart the slaves, but unless both slaves were stopped at the exact same spot in the binlogs I could lose data, right?

Is there a way to stop both slaves simultaneously (from the master maybe)? Is there another way to do this I'm missing?

Thanks in advance.

Viewing all articles
Browse latest Browse all 1562

Latest Images

Trending Articles



Latest Images

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