简体   繁体   English

Percona db复制问题

[英]Percona db Replication Issue

One master Server 3 slaves 一个主服务器3个从属

Master Server version: 5.5.24-55-log 主服务器版本:5.5.24-55-log

1st slave Server version: 5.5.24-55 第一个从属服务器版本:5.5.24-55

2nd Slave Server version: 5.5.24-55 第二个从服务器版本:5.5.24-55

3rd slave Server version: 5.5.25a-27.1 第3个从属服务器版本:5.5.25a-27.1

On the first two slaves,the following type of statements get replicated properly insert into table1 (select * from table 2) insert into db2.table1(select * from table2) 在前两个从属服务器上,以下类型的语句被正确复制:插入表1(从表2选择*)插入db2.table1(从表2选择*)

On slave 3 (with newer version of percona db), the statements seem to fail 在从属服务器3(具有更新版本的percona db)上,语句似乎失败

all of the slaves have same my.cnf file with only server_id different. 所有从站都具有相同的my.cnf文件,仅server_id不同。

could this be a bug in the new version of the software. 这可能是该软件新版本中的错误吗?

I have tried uninstalling the slave and then resyncing it using latest data from the master. 我尝试卸载从属服务器,然后使用主服务器中的最新数据重新同步它。

Any clues? 有什么线索吗?

找到了问题1.从站上的时区与其他所有机器都不相同2.这种时间差异导致某些查询无法正常工作,因为查询使用的是mysql NOW函数

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM