Context
Hi all, we are about to upgrade our AWS RDS MySQL instance from MySQL 5.6 to MySQL 5.7. To do so, we are planning to go through the following steps
- Create a read replica of the primary instance
- Upgrade the read replica version from 5.6 to 5.7
- Stop write operations on the primary instance
- Wait until all the data is replicated
- Promote the read replica to be the master
- Update our DB DNS record to point to the replica endpoint
Question
According to the AWS documentation the DateTime, Time and Timestamp data type has changed between MySQL 5.6 and 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"?
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?
Will the data be replicated using the old format or will it be converted to fit with the new format?
Thanks