JusDB
Free DB Audit
Cloud Databases

How to Migrate MySQL to AWS RDS: Methods, Pre-Flight Checks, and Cutover

Move self-managed MySQL to Amazon RDS: choose mysqldump, MySQL Shell, XtraBackup from S3, or AWS DMS by downtime budget, then replicate, validate, and cut over with a rollback path.

JusDB Team
Published November 18, 2026
19 min read

Moving a self-managed MySQL server to Amazon RDS for MySQL looks like a copy job until the first rehearsal load stops. A dump that restores cleanly on your own servers fails on RDS with ERROR 1227 (42000): Access denied; you need (at least one of) the SUPER or SYSTEM_VARIABLES_ADMIN privilege(s) for this operation, or with ERROR 1419 (HY000): You do not have the SUPER privilege and binary logging is enabled on the first stored function. The RDS master user has no SUPER, replication is configured through stored procedures instead of CHANGE REPLICATION SOURCE TO, and since RDS for MySQL 8.4 those procedures have new names. This guide picks a method by size and downtime budget (mysqldump, MySQL Shell, XtraBackup from S3, or AWS DMS), then covers pre-flight checks, binlog replication into RDS, cutover, validation, and rollback.

TL;DR
  • Target RDS for MySQL 8.4 or 9.7 as of November 2026. RDS for MySQL 8.0 left standard support on 31 July 2026 and now runs only under paid Extended Support.
  • Small database or long window: mysqldump or MySQL Shell. Large database: XtraBackup to S3 and restore-db-instance-from-s3, which lands on the source's major version and cannot target 9.7.
  • Short outage: load a consistent copy, then replicate with mysql.rds_set_external_source and mysql.rds_start_replication (8.4 and higher). RDS 8.0 uses the older rds_set_external_master names.
  • Fix grants, DEFINERs, MyISAM tables, and the time zone before any data moves. RDS defaults to UTC.
  • Reverse replication is a sound rollback path only when the old server runs the same major version as RDS.

Scope and review date: November 2026. This post covers a self-managed MySQL 8.0 or 8.4 server (on premises or on EC2) moving to a single-instance or Multi-AZ DB instance on Amazon RDS for MySQL 8.4 or 9.7. Aurora MySQL, Multi-AZ DB clusters, and MariaDB sources are out of scope. Versions, procedure names, and limits were checked against the AWS, MySQL, and Percona documentation on 25 November 2026. The commands were not run in a lab, so rehearse them on a copy of production before the real cutover.


Which migration method fits your database size and downtime budget?

Start from two numbers: how long the application can stop writing, and how long a full copy into RDS takes on a rehearsal instance of the same class and storage. On its own, each copy method means a write outage for the whole copy. Add binlog replication and the outage shrinks to the final catch-up and the repoint. AWS DMS includes change capture but has the longest list of limits for MySQL to MySQL.

Three ways to get the first copy into RDS for MySQL

Switch methods to see the version reach, the outage, and what you move by hand

mysqldump or MySQL Shell

QuestionAnswer
RDS target versions8.0, 8.4, and 9.7
Outage on its ownFull dump plus full load
Users and grantsRecreate from a reviewed script
Routines, triggers, eventsIncluded; DEFINER accounts must exist on RDS
Main RDS catchNo SUPER: GTID_PURGED lines and unsafe functions fail

XtraBackup from S3

QuestionAnswer
RDS target versionsSame major as the source; not 9.7
Outage on its ownBackup, upload, and restore
Users and grantsAWS says to save and re-add them; unsupported privileges are removed
Routines, triggers, eventsAWS says to save and re-add functions and procedures
Main RDS catchNew instance only; no Percona Server or encrypted source

AWS DMS

QuestionAnswer
RDS target versionsUp to 8.4 in the DMS target list
Outage on its ownFinal catch-up only; change capture is built in
Users and grantsNot migrated; create them yourself
Routines, triggers, eventsPre-create the schema; DMS moves table data
Main RDS catchAUTO_INCREMENT and prefix indexes are not carried

Rule of thumb: a logical or physical copy plus native binlog replication is the shortest path with the fewest limits. Sources are the RDS restore-from-S3 guide and the DMS MySQL source page.

Which RDS for MySQL version should you target?

The RDS for MySQL version page lists three majors as of 25 November 2026:

  • 9.7 (LTS): first RDS release 9.7.4 on 18 November 2026, standard support until 31 July 2031.
  • 8.4 (LTS): newest minor 8.4.13 (17 November 2026), standard support until 31 July 2029.
  • 8.0: standard support ended on 31 July 2026. Extended Support pricing started on 1 August 2026 and runs until 31 July 2029.

Do not migrate onto 8.0; our RDS MySQL 8.0 Extended Support breakdown shows what it costs.

bash
aws rds describe-db-engine-versions \
    --engine mysql \
    --query "DBEngineVersions[?starts_with(EngineVersion, '8.4') || starts_with(EngineVersion, '9.7')].EngineVersion" \
    --output text

Interpretation: this lists the 8.4 and 9.7 minors your Region offers. Pin one so the rehearsal and the real migration use the same build.

9.7 is the longer-lived target, but it narrows your methods. AWS states that you can't restore a backup from S3 to RDS for MySQL 9.7, the DMS target list stops at MySQL 8.4, and Multi-AZ DB clusters aren't supported on 9.7. On 9.7, TLS is required by default, mysql_native_password is gone, and MD5() and SHA1() are not available. If you are still deciding between RDS and Aurora, read our Aurora MySQL vs RDS MySQL comparison first. For most migrations this quarter, land on 8.4 and plan the 8.4 to 9.7 step separately; our MySQL 8.4 to 9.7 upgrade guide covers that step.

MySQL supports replication from an older source to a newer replica only along a supported upgrade path: 8.0 or 8.4 into RDS 8.4, 8.4 into 9.7. A 5.7 source should reach 8.0 first.

What will RDS reject, and how do you find it before the load?

RDS for MySQL 8.0.36 and higher grant the master user rds_superuser_role. The role-based privilege model page lists its privileges: SET_USER_ID, RELOAD, REPLICATION SLAVE, and CREATE USER are in it, while SUPER, SYSTEM_VARIABLES_ADMIN, FILE, and SHUTDOWN are not. You also can't write to the mysql tables directly. Run these checks on the source.

sql
-- Accounts that hold privileges RDS strips or refuses
SELECT user, host FROM mysql.user
WHERE Super_priv = 'Y' OR File_priv = 'Y'
   OR Shutdown_priv = 'Y' OR Create_tablespace_priv = 'Y';

-- Accounts that block a 9.7 target
SELECT user, host FROM mysql.user
WHERE plugin = 'mysql_native_password';

Interpretation: the first query is AWS's own check for the S3 import path; each account it returns needs its grants rewritten. Accounts in the second must move to caching_sha2_password before a 9.7 load.

sql
-- Who owns your stored programs and views
SELECT 'routine' AS kind, ROUTINE_SCHEMA AS db, ROUTINE_NAME AS name, DEFINER
FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA NOT IN ('mysql', 'sys')
UNION ALL
SELECT 'view', TABLE_SCHEMA, TABLE_NAME, DEFINER
FROM information_schema.VIEWS WHERE TABLE_SCHEMA NOT IN ('mysql', 'sys')
UNION ALL
SELECT 'trigger', TRIGGER_SCHEMA, TRIGGER_NAME, DEFINER
FROM information_schema.TRIGGERS WHERE TRIGGER_SCHEMA NOT IN ('mysql', 'sys')
UNION ALL
SELECT 'event', EVENT_SCHEMA, EVENT_NAME, DEFINER
FROM information_schema.EVENTS;

Interpretation: every DEFINER here must exist on RDS before the objects load. The usual offender is root@localhost; create a matching account or rewrite the DEFINER to an owner account. MySQL Shell's strip_definers option switches views and routines to SQL SECURITY INVOKER, which changes who needs table privileges, so test it first.

sql
-- Non-InnoDB tables and tables without a primary key
SELECT t.TABLE_SCHEMA, t.TABLE_NAME, t.ENGINE,
       (c.CONSTRAINT_NAME IS NULL) AS no_primary_key
FROM information_schema.TABLES t
LEFT JOIN information_schema.TABLE_CONSTRAINTS c
  ON c.TABLE_SCHEMA = t.TABLE_SCHEMA AND c.TABLE_NAME = t.TABLE_NAME
 AND c.CONSTRAINT_TYPE = 'PRIMARY KEY'
WHERE t.TABLE_TYPE = 'BASE TABLE'
  AND t.TABLE_SCHEMA NOT IN ('mysql', 'sys', 'information_schema', 'performance_schema')
  AND (t.ENGINE <> 'InnoDB' OR c.CONSTRAINT_NAME IS NULL);

-- Server defaults that change behaviour after cutover
SELECT @@global.time_zone, @@system_time_zone,
       @@character_set_server, @@collation_server;

Interpretation: AWS supports point-in-time and snapshot restore for InnoDB only and warns that MyISAM can lose or corrupt data after a recovery, so convert those tables on the source. Keyless tables replicate slowly in row format and are hard to validate. If time_zone is SYSTEM on a host in local time, NOW() will shift on RDS, which defaults to UTC. Set time_zone from AWS's list (India is Asia/Calcutta there), and set the server character set and collation to match the source.

Two parameters to set before any load

Set log_bin_trust_function_creators = 1: without SUPER, the master user cannot create functions lacking DETERMINISTIC, NO SQL, or READS SQL DATA while binary logging is on. Set local_infile = 1 for MySQL Shell or DMS loads.

How do you migrate with mysqldump or MySQL Shell dump and load?

A logical copy is the simplest route and the only one that can land on 9.7. Make it consistent and record the binlog position.

mysqldump

bash
# MySQL 8.0.26+ source: --source-data replaces --master-data
mysqldump -h source.internal -u admin -p \
    --databases appdb \
    --single-transaction --source-data=2 --order-by-primary \
    --routines --triggers --events \
    --set-gtid-purged=OFF \
    -r appdb.sql

grep -m1 "SOURCE_LOG_FILE" appdb.sql

Interpretation: --source-data=2 writes the binlog coordinates as a comment, which the grep prints. AWS advises against --all-databases, which would include the mysql schema. On a GTID source, --set-gtid-purged=OFF drops the SET @@GLOBAL.GTID_PURGED line that needs SUPER or SYSTEM_VARIABLES_ADMIN and causes ERROR 1227.

bash
mysql -h mydb.abc123.ap-south-1.rds.amazonaws.com -u admin -p \
    --ssl-mode=REQUIRED < appdb.sql

AWS recommends loading before you turn on Multi-AZ and backup retention. Take a manual snapshot as soon as the load is verified.

MySQL Shell dump and load

MySQL Shell parallelises both sides and can resume an interrupted load. util.loadDump() connects as an ordinary client, so it works against RDS once local_infile is on; the load utility documentation lists the options.

javascript
// On the source; REPLICATION CLIENT lets the dump record binlog coordinates
util.dumpSchemas(["appdb"], "/backup/appdb-2026-11", {threads: 8})

// Connected to RDS as the master user
util.loadDump("/backup/appdb-2026-11", {
  threads: 8,
  loadUsers: false,
  deferTableIndexes: "all"
})

Interpretation: the dump's @.json file holds the binlog coordinates and GTID set. loadUsers defaults to false; create accounts from a reviewed script, because grants that include SUPER fail on RDS. Skip Shell's updateGtidSet, which sets gtid_purged directly; use the RDS procedure below. Our MySQL Shell vs mydumper comparison covers tuning.

How do you restore an XtraBackup backup from Amazon S3?

For large databases, a physical backup avoids rebuilding every index. RDS restores a Percona XtraBackup backup from S3 into a new instance; AWS pairs XtraBackup 8.4 with MySQL 8.4 and 8.0 (8.0.12 or later) with MySQL 8.0. Our XtraBackup production guide covers the backup itself.

bash
xtrabackup --backup --user=backup --password='...' \
    --stream=xbstream --target-dir=/backup/s3-restore \
  | split -d --bytes=500MB - /backup/s3-restore/backup.xbstream

aws s3 cp /backup/s3-restore/ s3://acme-db-migration/appdb/ --recursive

aws rds restore-db-instance-from-s3 \
    --db-instance-identifier appdb-rds \
    --db-instance-class db.r7g.2xlarge --allocated-storage 1000 \
    --engine mysql \
    --master-username admin --manage-master-user-password \
    --s3-bucket-name acme-db-migration --s3-prefix appdb/ \
    --s3-ingestion-role-arn arn:aws:iam::111122223333:role/rds-s3-import \
    --source-engine mysql --source-engine-version 8.4.7

Interpretation: RDS reads the files in name order, which split -d preserves. --source-engine-version is your source's exact version, and RDS does not migrate backward even between minors. Keep xtrabackup_binlog_info: it holds the binlog coordinates for replication.

The AWS limits that most often block this path:

  • The target is the source's major version, and it cannot be 9.7. An 8.0 source therefore lands on RDS 8.0, which bills Extended Support until you upgrade it.
  • No Percona Server for MySQL source, no encrypted source, and no partial backups.
  • innodb_data_file_path must be the default ibdata1:12M:autoextend; uncompressed backups can be up to 64 TiB.
  • AWS recommends re-adding user accounts, functions, stored procedures, and time zone information after the restore.

How do you keep RDS in sync with binlog replication?

Once RDS holds a consistent copy, make it a replica of your server. RDS opens the connection, so it needs a route to your source on port 3306: VPN, Direct Connect, or VPC peering for EC2.

Binlog replication from a self-managed server into RDS

Writes stay on the source while RDS applies its binlog; the outage is step 3

Binlog replication into RDS for MySQL Step 1: the application reads and writes on the self-managed MySQL server, which writes a binary log. Step 2: the RDS for MySQL instance, configured with mysql.rds_set_external_source, connects to the source and applies binlog events from the position of the initial copy. Step 3: writes stop, RDS applies the last events, replication is reset, and the application is repointed to RDS; the old connection is retired. Application reads and writes Source MySQL binlog source RDS for MySQL external replica 1 2 binlog events from copy position 3 cutover: stop writes, drain, reset replication, repoint to RDS

Before step 2: keep enough binlogs on the source to cover the whole copy and load. If the file in your coordinates is purged before RDS connects, start the copy again.

On the source

Confirm binary logging, a unique server_id, row format, and a binlog_expire_logs_seconds longer than your copy-and-load time. Then create a replication account.

sql
CREATE USER 'repl_rds'@'10.20.%' IDENTIFIED BY 'change-me';
GRANT REPLICATION CLIENT, REPLICATION SLAVE ON *.* TO 'repl_rds'@'10.20.%';

On RDS

The master user cannot run CHANGE REPLICATION SOURCE TO. The RDS replication procedure reference lists mysql.rds_set_external_source for 8.4 and higher and mysql.rds_set_external_master for 8.0 and lower, with the same seven arguments.

sql
-- RDS for MySQL 8.4 and 9.7: host, port, user, password, file, position, ssl
CALL mysql.rds_set_external_source(
  '10.20.0.15', 3306, 'repl_rds', 'change-me',
  'mysql-bin.000231', 4537, 1);
CALL mysql.rds_start_replication;

SHOW REPLICA STATUS\G

Interpretation: use the coordinates recorded by your copy. The last argument turns on TLS, which AWS requires when the replication account uses caching_sha2_password, the 8.4 default. RDS does not verify the source certificate, so keep the link on a private network.

Checking the external replica on RDS

Illustrative output: field names from MySQL 8.4, values invented for this example

mysql: admin@appdb-rds
mysql> SHOW REPLICA STATUS\G*************************** 1. row *************************** Source_Host: 10.20.0.15 Source_Log_File: mysql-bin.000233 Read_Source_Log_Pos: 918244 Relay_Source_Log_File: mysql-bin.000233 Replica_IO_Running: Yes Replica_SQL_Running: Yes Exec_Source_Log_Pos: 918244 Seconds_Behind_Source: 0 Source_SSL_Allowed: Yes Last_IO_Error: Last_SQL_Error:

What to confirm: both threads say Yes, both error fields are empty, and Exec_Source_Log_Pos keeps moving towards the source's current position. A replica that is 0 seconds behind but stopped is not in sync.

For GTIDs, call mysql.rds_set_external_source_gtid_purged with the copy's GTID range, then mysql.rds_set_external_source_with_auto_position. Keep automated backups on while RDS replicates, and watch for failover events: AWS notes a failover can give the replica a new address.

When is AWS DMS the right tool?

DMS makes sense when you need table filtering, transformation rules, or built-in validation. For MySQL to MySQL, the DMS source page recommends homogeneous data migrations, but as of November 2026 those list only RDS for MySQL 5.7 and 8.0 targets. Classic DMS targets go up to 8.4, not 9.7, and an 8.4 source needs DMS 3.5.4 or later. Our AWS DMS guide covers task setup.

ini
# my.cnf on the source, for DMS change capture
[mysqld]
server_id                  = 1
log_bin                    = mysql-bin
binlog_format              = ROW
binlog_row_image           = FULL
binlog_expire_logs_seconds = 86400

Interpretation: these are AWS's values for a self-managed source. On RDS, set local_infile = 1 and disable foreign key checks during the full load. The limits that matter:

  • The AUTO_INCREMENT attribute and prefix indexes such as name(10) are not migrated.
  • ON DELETE CASCADE and ON UPDATE CASCADE effects are not propagated, because MySQL writes no binlog events for them.
  • No binary log transaction compression, no generated-column changes, and no invisible columns.

Load the schema first with mysqldump --no-data --routines --triggers --events so tables keep their keys and AUTO_INCREMENT, then set the task's TargetTablePrepMode to DO_NOTHING and turn on validation.

How do you cut over and validate the data?

Validate twice: an online checksum while RDS replicates, and a short check inside the outage. Time the runbook in a rehearsal; that is your outage estimate. If you want a second pair of eyes on the runbook before the real cutover, you can hire a MySQL consultant for a read-only review.

Online checksum with pt-table-checksum

pt-table-checksum (3.7.2 in the current Percona docs) checksums chunks on the source under session binlog_format=STATEMENT and lets replication rerun the statements on RDS. Limits for an RDS replica:

  • It finds replicas through the processlist by default; give it the RDS endpoint in a DSN table instead.
  • Checksums stop at a row-format replica that has replicas of its own, so run it before you add RDS read replicas.
  • Large tables without a primary or unique key are skipped.
  • The Percona page does not mention MySQL 8.4 or 9.7, so prove it in the rehearsal.
bash
# On the source: DSN table that points the tool at RDS
mysql -h source.internal -u admin -p -e "
  CREATE DATABASE IF NOT EXISTS percona;
  CREATE TABLE percona.dsns (id INT AUTO_INCREMENT PRIMARY KEY,
    parent_id INT NULL, dsn VARCHAR(255) NOT NULL);
  INSERT INTO percona.dsns (dsn) VALUES
    ('h=mydb.abc123.ap-south-1.rds.amazonaws.com,u=checksum_ro,p=change-me');"

pt-table-checksum h=source.internal,u=checksum_user --ask-pass \
    --databases=appdb --replicate=percona.checksums \
    --recursion-method=dsn=h=source.internal,D=percona,t=dsns

Interpretation: any non-zero DIFFS value is a table that differs on RDS. The checksum_ro account on RDS needs read access to percona.checksums.

Cutover runbook: self-managed MySQL to RDS for MySQL 8.4

Eight steps; steps 3 to 7 are the write outage

  1. Confirm RDS is in sync

    Both threads run, checksums are clean, and backups and Multi-AZ are on.

    SHOW REPLICA STATUS\G
  2. Prepare the rollback path

    Keep RDS binlogs (168 hours at most) and create a replication account for the old server.

    CALL mysql.rds_set_configuration( 'binlog retention hours', 48);
  3. Stop application writes

    Outage starts

    Stop writers, then make the source read-only for every account.

    SET GLOBAL super_read_only = ON;
  4. Drain the last events

    Outage

    On RDS, Relay_Source_Log_File and Exec_Source_Log_Pos must equal the source's File and Position.

    -- on the source (8.0: SHOW MASTER STATUS) SHOW BINARY LOG STATUS;
  5. Validate critical tables

    Outage

    Run the same count and CRC query on both sides and compare.

  6. Record the RDS position and detach

    Outage

    Note RDS's own File and Position for the rollback path, then end the replication link.

    SHOW BINARY LOG STATUS; CALL mysql.rds_stop_replication; CALL mysql.rds_reset_external_source;
  7. Repoint the application

    Outage ends

    Switch the connection string or DNS name to the RDS endpoint and start writers with TLS on.

  8. Start reverse replication

    Point the old server at RDS from the step 6 position.

Rollback point: until step 7, rolling back means SET GLOBAL super_read_only = OFF on the source; nothing has written to RDS. After step 7, rollback needs the reverse replication from step 8.

Inside the outage, use a query rather than CHECKSUM TABLE, whose values depend on the row format and can change between versions, according to the MySQL manual.

sql
-- Run on both sides with the same session time zone
SET SESSION time_zone = '+00:00';
SELECT COUNT(*) AS row_count,
       BIT_XOR(CRC32(CONCAT_WS('#', id, customer_id, status,
               total, updated_at, ISNULL(shipped_at), shipped_at))) AS crc
FROM appdb.orders;

Interpretation: matching counts and CRCs mean the listed columns match. CONCAT_WS skips NULLs, so add an ISNULL() flag per nullable column. The fixed session time zone keeps TIMESTAMP text identical on both sides.

How do you roll back after the application writes to RDS?

Once the application writes to RDS, a plain repoint back loses those writes. Reverse the direction instead: the old server replicates from RDS, from the position recorded in step 6. RDS writes binlogs only while automated backups are on, and purges them quickly unless you set binlog retention hours (step 2).

sql
-- On RDS, before the outage: account for the old server
CREATE USER 'repl_back'@'10.20.0.15' IDENTIFIED BY 'change-me';
GRANT REPLICATION CLIENT, REPLICATION SLAVE ON *.* TO 'repl_back'@'10.20.0.15';

-- On the old server, right after step 7 (it stays super_read_only)
CHANGE REPLICATION SOURCE TO
  SOURCE_HOST = 'mydb.abc123.ap-south-1.rds.amazonaws.com',
  SOURCE_PORT = 3306,
  SOURCE_USER = 'repl_back',
  SOURCE_PASSWORD = 'change-me',
  SOURCE_LOG_FILE = 'mysql-bin-changelog.000012',
  SOURCE_LOG_POS = 157,
  SOURCE_SSL = 1;
START REPLICA;

Interpretation: replication applies changes even with super_read_only on, so the old server stays safe from stray writes. To roll back, stop writers on RDS, let the old server drain, run STOP REPLICA and RESET REPLICA ALL, turn off super_read_only, and repoint.

This path needs the same major version on both sides

The MySQL manual says replication from a newer source to an older replica is generally not supported. If you migrate 8.0 to RDS 8.4, the reverse link is unsupported. Either migrate at the same major version and upgrade on RDS later with Blue/Green, or accept that rollback after step 7 means replaying writes from the application side.

Frequently asked questions

Can I use mysqldump to migrate a database to Amazon RDS for MySQL?

Yes, for databases that fit your outage window. Dump only your application schemas, never the mysql system schema, with --single-transaction, --source-data=2, and --set-gtid-purged=OFF. Set log_bin_trust_function_creators to 1 on RDS so functions load without SUPER, and make sure every DEFINER account exists on RDS before you load.

What replaced mysql.rds_set_external_master on RDS for MySQL 8.4?

On RDS for MySQL 8.4 and higher, use mysql.rds_set_external_source, with the same seven arguments: host, port, user, password, binlog file, position, and an SSL flag. The GTID variant is mysql.rds_set_external_source_with_auto_position, and mysql.rds_reset_external_source removes the link. RDS 8.0 keeps the older master names.

Can I restore a Percona XtraBackup backup into RDS for MySQL 9.7?

No. As of November 2026, AWS states that you can't restore a backup from Amazon S3 to an RDS for MySQL 9.7 instance. The restore lands on the source's major version, so restore 8.4 to RDS 8.4 and upgrade to 9.7 afterwards, or use a logical dump to load 9.7 directly.

Does AWS DMS support RDS for MySQL 9.7 as a target?

Not according to the DMS target list as of November 2026, which names MySQL versions up to 8.4. DMS homogeneous data migrations list only RDS for MySQL 5.7 and 8.0 targets. For a 9.7 target, load with mysqldump or MySQL Shell and keep it current with native binlog replication.

Why does my import fail with ERROR 1419 on RDS?

Binary logging is on, the master user has no SUPER privilege, and the function is not declared DETERMINISTIC, NO SQL, or READS SQL DATA. Set log_bin_trust_function_creators to 1 in a custom DB parameter group and rerun the load. It is a dynamic parameter, so no reboot is needed.

Key takeaways

  • Land on RDS for MySQL 8.4 unless you have a reason to start on 9.7; 9.7 rules out S3 restore and DMS.
  • Run the pre-flight queries first: SUPER grants, DEFINER accounts, MyISAM and keyless tables, time zone, and character set.
  • Pair a consistent logical or physical copy with mysql.rds_set_external_source replication to cut the outage to the drain and the repoint.
  • Validate online with pt-table-checksum through a DSN table, and inside the outage with a count and CRC query, not CHECKSUM TABLE.
  • Set RDS binlog retention before cutover and start reverse replication right after it, at the same major version only.

Plan your MySQL to RDS migration with JusDB

JusDB's MySQL migration team can review your server for RDS readiness (grants, DEFINERs, engines, time zone, and version), choose a method that fits your downtime budget, and rehearse the cutover and rollback runbook with you. Our RDS for MySQL team can help after the move.

Bring your source version, database sizes, table engines, and the write outage the business can accept. Your team approves every production change.

Share this article

Database engineering notes

Articles like this one, in your inbox. No spam, unsubscribe anytime.

JusDB Team

Official JusDB content team

Keep reading

How to Migrate PostgreSQL to AWS RDS: Methods, Pre-Flight Checks, and Cutover

Move self-managed PostgreSQL to Amazon RDS: choose pg_dump, logical replication, AWS DMS, or pglogical by downtime budget, then cut over with sequence sync and a rollback path.

PostgreSQL20 minNov 19, 2026
Read

AWS RDS High CPU Usage: Find the Cause on MySQL and PostgreSQL

Triage high CPU on Amazon RDS for MySQL and PostgreSQL with CloudWatch, Enhanced Monitoring, CPU credits, and Database Insights, then fix the SQL or resize.

PostgreSQL19 minNov 13, 2026
Read

RDS MySQL 8.0 Extended Support: What You Are Paying Since August 1, 2026

How RDS Extended Support bills MySQL 8.0 since 1 August 2026, how to estimate it per vCPU-hour, what opting out really does, and how to stop the charge with a blue/green upgrade to 8.4.

MySQL19 minNov 9, 2026
Read