Database versions and version policies

This page describes Cloud SQL’s database version support policies.

Introduction

Cloud SQL supports the following database versions:

Major versionMinor version
MySQL 8.08.0.26,
8.0.18 (default)
MySQL 5.7 (default)5.7.36
MySQL 5.65.6.51

Cloud SQL automatically keeps your instances up to date with patches and minor version updates.

As indicated above, the database engines supported by Cloud SQL include multiple versions. The versions may vary in their functionality and in the types of issues that arise. While Cloud SQL recognizes that upgrades impact users, we are committed to providing up-to-date functionality and important patches.

Major and minor versions

For MySQL, the first two numbers in the version number form the major version number. For example, for version 5.7.13, Cloud SQL uses 5.7 as the major version, and 13 as the minor version.

Major version support

Cloud SQL supports new major versions within five months of general availability release by the database engine developer.

Minor version support

Cloud SQL supports new minor versions within three months of general availability release by the database engine developer. Once Cloud SQL starts supporting a new minor version, new instances are automatically provisioned on the new version. Existing instances are upgraded to the new version during the next scheduled maintenance rollout.

Cloud SQL determines the target minor version for each database engine. When the target minor version is different from the minor version for a Cloud SQL instance, Cloud SQL upgrades that version during the next maintenance cycle. You can control the day and time when maintenance restarts occur by setting a maintenance window for your instance.

For MySQL 8.0, when Cloud SQL starts support for a new minor version, users can upgrade existing instances to the new minor version. See Upgrade the MySQL minor version for an instance. New instances are automatically provisioned on the new minor version after the new minor version becomes the default.

Major version deprecation plan

When Cloud SQL intends to end support for a specific major version, we will send a deprecation notice alerting customers a minimum of 12 months ahead.

Cloud SQL will also provide tools to minimize upgrade disruption, as needed. Any instance that has not moved to the new major version at the end of the 12-month period will be automatically upgraded.

When did Cloud SQL support for each database version begin?

The following table shows when Cloud SQL support for database versions became generally available.

Version Date
MySQL 8.0 August 30, 2020
MySQL 5.7 August 1, 2016
MySQL 5.6 August 1, 2016