How to upgrade AWS RDS Aurora MySQL 5.6 to 5.7

删除回忆录丶 提交于 2020-08-01 05:53:11

问题


We are using AWS RDS Aurora MySQL 5.6 for our production database. AWS launched MySQL 5.7 compatible Aurora engine on 6th Feb, 2018.

I dont see any option in "modify instance" to change engine to MySQL 5.7 I dont see any option in restore snapshot to database with MySQL 5.7 either.

We want to do this upgrade with least downtime. Pls suggest what could be done here.


回答1:


According to this link, you cannot upgrade an in-place database, you will need to restore a snapshot of the existing database and change the engine version during that process. These restrictions appear to be only temporary and may be lifted at a later point to allow for in-place upgra




回答2:


The comments above are true; there is still no in place upgrade for 5.6 to 5.7; the process is still pretty easy though;

1) Go to the RDS dashboard, in the left hand menu there is a menu item called 'Snapshots'; you can either click on this if you are ok using a recent snapshot; otherwise select your database & on the actions drop down & choose 'Take Snapshot'

2) In snapshots simply select your snapshot & choose 'Restore Snapshot' from the actions drop down; it will automatically duplicate a bunch of your previous settings. Its at this juncture you can select the new database engine of 5.7

All and all you should allow for at least a half an hour of downtime for the whole process. Probably a couple of hours to be on the safe side.




回答3:


To manage an update for a DB instance or DB cluster

Sign in to the AWS Management Console and open the Amazon RDS console at https://console.aws.amazon.com/rds/.

In the navigation pane, choose Instances to manage updates for a DB instance, or Clusters to manage updates for an Aurora DB cluster.

Select the checkbox for the DB instance or DB cluster that has a required update.

Choose Instance actions for a DB instance, or Actions for a DB cluster, and then choose one of the following:

  • Upgrade now

  • Upgrade at next window

Note: If you choose Upgrade at next window and later want to delay the update, you can select Defer upgrade.



来源:https://stackoverflow.com/questions/48670870/how-to-upgrade-aws-rds-aurora-mysql-5-6-to-5-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!