Reputation: 960
I have a master which is replicated by five slaves. I need to restore a database on the master and plan to do so with mysql db_name < db_name.dump. My question is do I need to stop mysql on the master before I do so for the slaves to automatically pick up the changes? If so what commands must I execute before doing mysql db_name < db_name.dump ?
Upvotes: 1
Views: 964
Reputation: 562320
Here's what happens:
You don't need to stop anything. All the replicas will replicate the changes, as long as you have configured replication correctly.
Upvotes: 2