How to upgrade AWS RDS Aurora MySQL 5.6 to 5.7

前端 未结 5 1868
借酒劲吻你
借酒劲吻你 2021-02-07 00:38

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 i

相关标签:
5条回答
  • 2021-02-07 00:40

    You can now perform in-place upgrade from Aurora MyQSL from 5.6 to 5.7

    Only a matter of invoking modify-db-cluster or modify-global-cluster (if you are using global clusters of course).

    More in the docs (including how to do this using the AWS console).

    0 讨论(0)
  • 2021-02-07 00:41

    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.

    0 讨论(0)
  • 2021-02-07 00:58

    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

    0 讨论(0)
  • 2021-02-07 00:58

    Easiest way is:

    1. Take a manual snapshot first of Aurora MySQL 5.6 cluster.

    2. Then, create a new Aurora MySQL 5.7 using that manual snapshot which was taken in step 1

    3. Your credentials would be same as that of the older 5.6 cluster.

    4. Verify if data is correct.

    0 讨论(0)
  • 2021-02-07 01:07

    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.

    0 讨论(0)
提交回复
热议问题