content_image/764515.jpg
## MySQL Cluster Upgrade 

The information in this section is an adjunct to the in-place upgrade procedure described in In-Place Upgrade, for use if you are upgrading MySQL Cluster. 

As of MySQL 8.0.16, a MySQL Cluster upgrade can be performed as a regular rolling upgrade, following the usual three ordered steps: 

1. Upgrade MGM nodes. 

2. Upgrade data nodes one at a time. 

3. Upgrade API nodes one at a time (including MySQL servers). 

The way to upgrade each of the nodes remains almost the same as prior to MySQL 8.0.16 because there is a separation between upgrading the data dictionary and upgrading the system tables. There are two steps to upgrading each individual mysqld : 

## 1. Import the data dictionary. 

Start the new server with the --upgrade=MINIMAL  option to upgrade the data dictionary but not the system tables. This is essentially the same as the pre-MySQL 8.0.16 action of starting the server and not invoking mysql_upgrade . 

The MySQL server must be connected to NDB  for this phase to complete. If any NDB  or NDBINFO  tables exist, and the server cannot connect to the cluster, it exits with an error message: 

Failed to Populate DD tables. 

## 2. Upgrade the system tables. 

Prior to MySQL 8.0.16, the DBA invokes the mysql_upgrade  client to upgrade the system tables. As of MySQL 8.0.16, the server performs this action: To upgrade the system tables, restart each individual mysqld  without the --upgrade=MINIMAL  option. 

## 2.11.7 Upgrading MySQL with the MySQL Yum Repository 

For supported Yum-based platforms (see Section 2.5.1, “Installing MySQL on Linux Using the MySQL Yum Repository” , for a list), you can perform an in-place upgrade for MySQL (that is, replacing the old version and then running the new version using the old data files) with the MySQL Yum repository. 

<img src='content_image/764515.jpg'>

## Notes 

•Before performing any update to MySQL, follow carefully the instructions in Section 2.11, “Upgrading MySQL” . Among other instructions discussed there, it is especially important to back up your database before the update. 

•The following instructions assume you have installed MySQL with the MySQL Yum repository or with an RPM package directly downloaded from MySQL Developer Zone’s MySQL Download page; if that is not the case, following the instructions in Replacing a Third-Party Distribution of MySQL Using the MySQL Yum Repository. 

## 1. Selecting a Target Series 

By default, the MySQL Yum repository updates MySQL to the latest version in the release series you have chosen during installation (see Selecting a Release Series for details), which means, for example, 

