Skip to content
Evergreen Evergreen
Documentation

Cloud SQL for MySQL 5.6 and 5.7 are in extended support

End of support as of 2025-02-01. Replacement: MySQL 8.0 or later. Source: Cloud SQL for MySQL database versions and version policies.

Check a version:

evergreen check pkg:generic/google-cloud-sql-mysql

The Cloud SQL for MySQL version policy lists MySQL 5.6 and 5.7 with extended support starting 2025-02-01 and deprecation on 2028-02-01. Oracle no longer supports those release series, and Cloud SQL charges for extended support. The mysql.com lifecycle page refuses automated requests (HTTP 403), so the upstream dates are taken from the endoflife.date record for MySQL.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of support
Severity high
Ecosystem database
Component pkg:generic/google-cloud-sql-mysql
Affected versions vers:semver/>=5.6.0\|<5.8.0
Date from the source 2025-02-01
Replacement MySQL 8.0 or later
Evidence last seen 2026-11-07
Reviewed 2026-11-07 by arminazimi
Review due 2027-02-05 (90 days after the last review)
Rule ID database.google-cloud-sql-mysql.extended-support-5.6-to-5.7

Sources

Migration

Constraints

  • Cloud SQL moves an instance to extended support when the MySQL community reaches end of life. Extended support is time-boxed to three years and is charged.
  • Changing database_version can upgrade the instance in place or recreate it, depending on the target. Read the plan before applying and take a backup first.
  • A major version upgrade cannot be reversed by changing database_version back; restore the backup instead.

Steps

  1. Back up the instance. Take an on-demand backup of every Cloud SQL for MySQL instance reported, before changing its major version.
  2. Upgrade the instance. Upgrade the instance to MySQL 8.0 or later with Cloud SQL’s in-place major version upgrade, or restore the backup into a new instance on the replacement major and move the application connection string.
  3. Raise the declared version. Change database_version in every google_sql_database_instance and google_sql_source_representation_instance block that runs this database, using the MYSQL_ prefix for the replacement major.
  4. Check clients and authentication. Update MySQL drivers, ORMs, and users that rely on mysql_native_password; MySQL 8.4 uses caching_sha2_password by default.

Verification

  • terraform validate: Check that the Terraform configuration is valid with the new database_version.
  • terraform plan: Review the plan and confirm the database_version change is intended and is the only instance change.
  • gcloud sql instances list --format="table(name,databaseVersion)": Confirm each reported instance now reports a supported MySQL database version.
  • docker compose config: Confirm any local Compose service that mirrors this database is valid and uses a MySQL image tag that matches the replacement.

Detected by

The database detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/database.json, rule database.google-cloud-sql-mysql.extended-support-5.6-to-5.7, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated