[英]AWS RDS MySQL replication from 5.6 to 5.7 during the upgrade process
Context语境
Hi all, we are about to upgrade our AWS RDS MySQL instance from MySQL 5.6 to MySQL 5.7.大家好,我们即将将我们的 AWS RDS MySQL 实例从 MySQL 5.6 升级到 MySQL 5.7。 To do so, we are planning to go through the following steps为此,我们计划通过以下步骤 go
Question问题
According to the AWS documentation the DateTime , Time and Timestamp data type has changed between MySQL 5.6 and MySQL 5.7.根据AWS 文档, DateTime 、 Time和Timestamp数据类型在 MySQL 5.6 和 MySQL 5.7 之间发生了变化。 That's why I wonder if the replication will still work between the primary (MySQL 5.6) and the upgraded replica (MySQL 5.7) in step "4"?这就是为什么我想知道在步骤“4”中复制是否仍然可以在主副本(MySQL 5.6)和升级副本(MySQL 5.7)之间工作?
Since the primary instance will still use the old DateTime , Time and Timestamp format, what will happen in the replica that uses the new format?由于主实例仍将使用旧的DateTime 、 Time和Timestamp格式,在使用新格式的副本中会发生什么?
Will the data be replicated using the old format or will it be converted to fit with the new format?数据会使用旧格式复制还是转换以适应新格式?
Thanks谢谢
Yes, replication works.是的,复制有效。 If replication will not work then it will raise an error which can be visible by running "show slave status \G" query in MySQL prompt.如果复制不起作用,那么它将引发一个错误,可以通过在 MySQL 提示符中运行“显示从属状态\G”查询来查看该错误。 We have upgraded our RDS instances by following the same steps as you mentioned and we didn't encounter any issues so far.我们按照您提到的相同步骤升级了我们的 RDS 实例,到目前为止我们没有遇到任何问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.