## 2.11 Upgrading MySQL

[2.11.1 Before You Begin](upgrade-before-you-begin.html)
[2.11.2 Upgrade Paths](upgrade-paths.html)
[2.11.3 What the MySQL Upgrade Process Upgrades](upgrading-what-is-upgraded.html)
[2.11.4 Changes in MySQL 8.0](upgrading-from-previous-series.html)
[2.11.5 Preparing Your Installation for Upgrade](upgrade-prerequisites.html)
[2.11.6 Upgrading MySQL Binary or Package-based Installations on Unix/Linux](upgrade-binary-package.html)
[2.11.7 Upgrading MySQL with the MySQL Yum Repository](updating-yum-repo.html)
[2.11.8 Upgrading MySQL with the MySQL APT Repository](updating-apt-repo.html)
[2.11.9 Upgrading MySQL with the MySQL SLES Repository](updating-sles-repo.html)
[2.11.10 Upgrading MySQL on Windows](windows-upgrading.html)
[2.11.11 Upgrading a Docker Installation of MySQL](upgrade-docker-mysql.html)
[2.11.12 Upgrade Troubleshooting](upgrade-troubleshooting.html)
[2.11.13 Rebuilding or Repairing Tables or Indexes](rebuilding-tables.html)
[2.11.14 Copying MySQL Databases to Another Machine](copying-databases.html)

[]()

 This section describes the steps to upgrade a MySQL installation.

 Upgrading is a common procedure, as you pick up bug fixes within the same MySQL release series or significant features between major MySQL releases. You perform this procedure first on some test systems to make sure everything works smoothly, and then on the production systems.

Note

 In the following discussion, MySQL commands that must be run using a MySQL account with administrative privileges include `-u `root` ` on the command line to specify the MySQL `root` user. Commands that require a password for `root` also include a `-p` option. Because `-p` is followed by no option value, such commands prompt for the password. Type the password when prompted and press Enter.

 SQL statements can be executed using the [**mysql**](mysql.html) command-line client (connect as `root` to ensure that you have the necessary privileges).

