Setting up Database Replication with multiple slaves
I’ve followed the instructions here to setup replication - it works great.
I need to add a second slave that only replicates one database from the master. How can I do this?
You should be able to follow the same steps for the second replica, just try adding this in your second slave’s config:
replicate_do_db = dbname, that way only this specific database should be replicated.