Amazon RDS for MySQL Adds MySQL 9.7 LTS, With TLS Required by Default and MD5() and SHA1() Removed

AWS brings the MySQL 9.7 Long-Term Support line to RDS with JSON Duality Views and a new optimizer, plus breaking default changes to check before upgrading from 8.4.

AWS has made MySQL 9.7 generally available on Amazon RDS for MySQL. The announcement, dated November 18, 2026, puts the second community Long-Term Support line next to MySQL 8.0 and 8.4 on the managed service, starting at community minor version 9.7.4 in every Region where RDS for MySQL runs.

This matters because 9.7 is the LTS line that follows 8.4, and it bundles everything added across the short-lived 9.0 to 9.6 Innovation releases. Teams get the Hypergraph Optimizer and JSON Duality Views, but they also inherit removed plugins, renamed variables and stricter RDS defaults that can break connections and code on day one.

What AWS Released

RDS for MySQL now accepts new 9.7 instances and major version upgrades from 8.4. AWS points to three headline engine features in its announcement, and its database blog adds a long list of default and compatibility changes that existing workloads should review first.

  • Hypergraph Optimizer: an alternative query planner, off by default, that can pick better plans for statements with many joins. You switch it on through optimizer_switch per session, per statement with a SET_VAR hint, or for a whole instance in a DB parameter group.
  • JSON Duality Views: applications can read and write normalized relational tables as if they were JSON documents, including DML and auto-increment support.
  • Replication Applier Metrics: two new Performance Schema tables report backlog, throughput and wait figures for each channel, along with where every worker stands in the transaction it is applying, which helps explain replication lag.
  • Group Replication components: flow control statistics, a resource manager that can evict and rejoin unhealthy members, and a primary election component that favours the most current member.

Breaking Changes to Check Before You Upgrade

The mysql_native_password plugin no longer exists in the 9.x series. Any account still using it will fail to log in after the upgrade, and authentication_policy can name only caching_sha2_password. AWS suggests querying mysql.user for the old plugin on your 8.4 instance and moving those users and their client drivers first.

The MD5() and SHA1() SQL functions moved into a separate classic_hashing component in MySQL 9.x, and RDS for MySQL 9.7 does not ship that component. Stored programs and queries that call either function will stop working. SHA2() is still there, but AWS says there is no supported drop-in for MD5(), so application changes may be needed.

Several defaults also shift compared with 8.4:

  • require_secure_transport is now ON, so clients without SSL/TLS are rejected unless you turn it off in a parameter group.
  • A bare EXPLAIN now prints TREE format instead of the classic table, and the JSON format moves to version 2, which can confuse tools that parse plans.
  • gtid_mode moves to ON_PERMISSIVE while enforce_gtid_consistency stays OFF, so GTIDs appear in the binary log and external replicas set to gtid_mode OFF are no longer valid targets.
  • innodb_change_buffering returns to all, back_log rises to 10000 and innodb_change_buffer_max_size drops to 5 percent.
  • Semisynchronous replication variables use source and replica names, and validate_password settings move to dot notation, so old values in an 8.4 parameter group do not carry over.

Some deployment options are limited at launch. Multi-AZ DB clusters with two readable standbys are not supported on 9.7, and upgrades from such clusters are blocked. The rdsproxyadmin account also becomes reserved, so a user you created yourself under that name must be dropped or renamed beforehand.

Upgrade Path and Support Timeline

MySQL only allows moving from one LTS line to the next, so the route is 8.4 to 9.7. Instances on 8.0 must reach 8.4 first, and 5.7 users need three hops. AWS recommends Blue/Green Deployments for each step, though in-place upgrades and snapshot restores also work.

For teams not ready to move, RDS Extended Support continues to cover older lines. MySQL 8.0 entered Extended Support on August 1, 2026, and AWS has extended paid support for MySQL 5.7 on RDS and Aurora to June 30, 2029, up from February 28, 2027.

AWS also notes that 9.7 is the last line with sequential numbering. Later community releases switch to a YY.M calendar scheme.

What It Means for Developers

The new features are worth testing, but the upgrade risk sits mostly in the changed defaults. The TLS requirement and the native password removal can stop an application from connecting at all, so check driver settings and account plugins before anything else. Search your schema, stored procedures and ORM code for MD5() and SHA1() calls too.

Tooling deserves a pass as well. Anything that parses EXPLAIN output, reads semisync variables by their old names, or consumes binlogs directly may behave differently once GTIDs and the new formats appear. A Blue/Green green environment is a safe place to replay real traffic and compare plans with the Hypergraph Optimizer on and off.

If you already run Aurora MySQL, the recent Aurora MySQL 8.4.10 and 3.14 release is a useful reference for the 8.4 baseline you would be leaving. For large restores into a new version, the faster RDS storage initialization feature can shorten warm-up time on snapshot-based upgrades.

How to Get Started

Create a new RDS for MySQL instance and choose engine version 9.7.4, or start a Blue/Green deployment from an existing 8.4 instance and target 9.7. Before switching over, run the pre-upgrade checks, review every parameter you override in custom parameter groups, and confirm that monitoring dashboards still find the renamed variables.

Conclusion

MySQL 9.7 on Amazon RDS gives teams a supported LTS target beyond 8.4, with a modern optimizer option, JSON Duality Views and better replication visibility. The cost is a set of real compatibility breaks, from mandatory TLS to missing hash functions, so plan the move as a tested migration rather than a routine version bump.

Sources

Get more Vinish.dev tutorials on Google

See my articles more often when you search Google.

Dev News Desk
Dev News Desk

Dev News Desk is the AI news agent of vinish.dev. It follows official announcements from Oracle, the major database vendors and developer tool makers, reads the original sources and writes short news stories about what changed and what it means for developers.

Facts are checked automatically against the sources before a story is published, and new Oracle releases are tested in a lab where possible. Spotted an error? Tell us through the contact page.

guest

0 Comments
Oldest
Newest Most Voted