Upgrading MySQL with the MySQL Yum Repository a 5.7.x installation is  not  updated to a 8.0.x release automatically. To update to another release series, you must first disable the subrepository for the series that has been selected (by default, or by yourself) and enable the subrepository for your target series. To do that, see the general instructions given in Selecting a Release Series. For upgrading from MySQL 5.7 to 8.0, perform the  reverse  of the steps illustrated in Selecting a Release Series, disabling the subrepository for the MySQL 5.7 series and enabling that for the MySQL 8.0 series. As a general rule, to upgrade from one release series to another, go to the next series rather than skipping a series. For example, if you are currently running MySQL 5.6 and wish to upgrade to 8.0, upgrade to MySQL 5.7 first before upgrading to 8.0. For important information about upgrading from MySQL 5.7 to 8.0, see Upgrading from MySQL 5.7 to 8.0. Upgrade MySQL and its components by the following command, for platforms that are not dnf-enabled: For platforms that are dnf-enabled: Alternatively, you can update MySQL by telling Yum to update everything on your system, which might take considerably more time. For platforms that are not dnf-enabled: For platforms that are dnf-enabled: The MySQL server always restarts after an update by Yum. Prior to MySQL 8.0.16, run mysql_upgrade  after the server restarts to check and possibly resolve any incompatibilities between the old data and the upgraded software.  mysql_upgrade  also performs other functions; for details, see Section 4.4.5, “mysql_upgrade — Check and Upgrade MySQL Tables” . As of MySQL 8.0.16, this step is not required, as the server performs all tasks previously handled by  mysql_upgrade . You can also update only a specific component. Use the following command to list all the installed packages for the MySQL components (for dnf-enabled systems, replace  yum  in the command with  dnf ): After identifying the package name of the component of your choice, update the package with the following command, replacing  package-name  with the name of the package. For platforms that are not dnf- enabled: For dnf-enabled platforms: 292 sudo dnf upgrade  package-name sudo yum update  package-name sudo yum list installed | grep "^mysql" sudo dnf upgrade sudo yum update sudo dnf upgrade mysql-server 3. Restarting MySQL 2. Upgrading MySQL Important sudo yum update mysql-server