From: Rick James Date: May 2 2012 5:05pm Subject: RE: Can the mysql replication limited to one database List-Archive: http://lists.mysql.com/mysql/227293 Message-Id: <2E7DD7ADE53B044C8C8BCD9C5829E1EB1485A7E03E@SP2-EX07VS01.ds.corp.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Yes, doable. In my.cnf on master: Binlog-do-database =3D dbname1 Binlog-do-database =3D dbname2 Would replicate those two dbs only. There are many other combinations using binlog/replicate-do/ignore-db/table= /wild. See the manual on replication, and especially the flowchart on how = those interact (sometimes in unexpected ways). > -----Original Message----- > From: Brown, Charles [mailto:CBrown@stripped] > Sent: Wednesday, May 02, 2012 8:44 AM > To: Rick James > Cc: mysql@stripped > Subject: Can the mysql replication limited to one database >=20 > Hi Gurus, >=20 > Can the mysql replication limited to selected schema or database? I've > been asked to set up mysql for only 1 out 5 databases exist in > production. Please advise if this is doable >=20 > Thanks >=20 > ******************************************** > This message is intended only for the use of the Addressee and may > contain information that is PRIVILEGED and CONFIDENTIAL. >=20 > If you are not the intended recipient, you are hereby notified that any > dissemination of this communication is strictly prohibited. >=20 > If you have received this communication in error, please erase all > copies of the message and its attachments and notify us immediately. >=20 > Thank you. > ********************************************