MySQL Installation Guide  /  Upgrading MySQL  /  Before You Begin

10.1 Before You Begin

Review the information in this section before upgrading. Perform any recommended actions.

  • Protect your data by creating a backup. The backup should include the mysql system database, which contains the MySQL system tables. See Database Backup Methods.

  • Review Section 10.2, “Upgrade Paths” to ensure that your intended upgrade path is supported.

  • Review Section 10.3, “Changes in MySQL 5.5” for changes that you should be aware of before upgrading. Some changes may require action.

  • Review What Is New in MySQL 5.5 for deprecated and removed features. An upgrade may require changes with respect to those features if you use any of them.

  • Review Server and Status Variables and Options Added, Deprecated, or Removed in MySQL 5.7. If you use deprecated or removed variables, an upgrade may require configuration changes.

  • Review the Release Notes for information about fixes, changes, and new features.

  • If you use replication, review Upgrading a Replication Setup.

  • Upgrade procedures vary by platform and how the initial installation was performed. Use the procedure that applies to your current MySQL installation:

  • If your MySQL installation contains a large amount of data that might take a long time to convert after an in-place upgrade, it may be useful to create a test instance for assessing the conversions that are required and the work involved to perform them. To create a test instance, make a copy of your MySQL instance that contains the mysql database and other databases without the data. Run the upgrade procedure on the test instance to assess the work involved to perform the actual data conversion.

  • Rebuilding and reinstalling MySQL language interfaces is recommended when you install or upgrade to a new release of MySQL. This applies to MySQL interfaces such as PHP mysql extensions and the Perl DBD::mysql module.