Work the master slave replication only with the same database name on server and client?

Work the master slave replication only with the same database name on server and client? So I can’t replicate the table cars from the server DB with name “serverdb” (serverdb.cars) to the client DB with name “client1” (client1.cars)?

Answer Answered by Hartmut Holzgraefe in this comment.

You seem to be looking for the "mysqld_replicate-rewrite-db" option:

http://dev.mysql.com/doc/refman/5.6/en/replication-options-slave.html#option_mysqld_replicate-rewrite-db

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.