我目前在 MySQL 4.1(主服务器,名为 radius)到 MySQL 5.0(从服务器,名为 app1)上进行了复制设置。
我们有了一台新服务器,我安装了 MySQL 5.1(名为 app2)。
我将 app2 设置为从 app1 复制数据。如果我在 app1 上手动运行任何查询,它们会完美复制到 app2,但来自 radius 的 app1 上复制的任何数据不会反射(reflect)在 app2 上。
iow,我有主站 -> 从站/主站 -> 从站设置,但链中的最后一个链接不起作用。
有什么想法吗?
最佳答案
您必须使用-log-slave-updates A -> B -> C
配置中 B(在您的情况下为 app1)上的选项。
Normally, a slave does not log to its own binary log any updates that are received from a master server. This option tells the slave to log the updates performed by its SQL thread to its own binary log.
关于MySQL复制,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2110932/