-
MySQL replication notes 2:replicating only certain databases
Here is my notes on setting up replication on MySQL. In a lot of cases, that is not good enough, because it replicates EVERYTHING from the master to slave(s), whereas you may just want one or two databases replicated. At first I thought I could just add this to /etc/my.cnf on the slave: [mysqld] replicate-do-db=MyDb…