[英]Mysql Replication for selected tables from a database?
I think that Mysql replication could be the solution that I am searching for. 我认为Mysql复制可能是我正在寻找的解决方案。 I need to sync some of the tables in a database.
我需要同步数据库中的某些表。
The trouble is that I only need to sync SOME tables and not all of them. 问题是我只需要同步一些表,而不是全部。 Anyone did this before ?
有人做过吗? If you did ... how did you do it ?
如果您这样做了……您是如何做到的? :)
:)
It's under --replicate-do-table=name
它在
--replicate-do-table=name
See - http://dev.mysql.com/doc/refman/5.5/en/replication-options-slave.html#option_mysqld_replicate-do-table 请参阅-http://dev.mysql.com/doc/refman/5.5/zh-CN/replication-options-slave.html#option_mysqld_replicate-do-table
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.