Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)



Migrating from MySQL 5.5 to MySQL 5.6

Preview

This is a Preview release of Google Cloud SQL MySQL 5.6. As a result, we may make backward-incompatible changes and it is not covered by any SLA or deprecation policy. Developers should take this into account when using this Preview release of Google Cloud SQL MySQL 5.6.


This page discusses how to migrate from MySQL 5.5 to MySQL 5.6. The default instance version when you create an instance is MySQL 5.5. You must explicitly select MySQL 5.6.

If you already have a 5.5 instance and you would like to try 5.6, then follow the migrating instructions given below.

Contents

MySQL 5.6 features

Cloud SQL MySQL 5.6 supports:

Cloud SQL does not support:

Migrating

The steps for migrating an instance from MySQL 5.5 to 5.6 involve exporting data from the MySQL 5.5 instance and importing that data into the 5.6 instance.

To migrate an instance from MySQL 5.5 to 5.6:

  1. Create a Cloud Storage bucket , with read and write access.

  2. In the Google Developers Console, go to the Overview page of the MySQL 5.5 instance and click Export .

  3. Be sure to export all, unless you only want some of the databases on the instance you are migrating. Also, for large databases, use .gz in the file name to compress the data. For more details see Exporting data .

  4. Verify the exported data file exists in the storage bucket. For example, you can use the Google Developers Console to check.

  5. Create a new MySQL 5.6 instance. Be sure to select MySQL 5.6 if you are creating a new instance. For more details, see Creating an instance . The MySQL version of an instance is displayed on the Overview page of an instance, under Properties .

  6. In the Google Developers Console, go to the Overview page of the MySQL 5.6 instance and click Import . For more details about importing, see Importing data .

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.