Upgrading MySQL 8
In previous versions of MySQL, the data dictionary is stored in the file-based system while in MySQL 8 it is stored in the data dictionary structure. So, the up-gradation process will move the file-based structure into the data dictionary structure. Up-gradation into MySQL 8 is possible from the MYSQL 5.7 GA version, which means from 5.7.9 or higher. For non-GA versions of 5.7, up-gradation is not possible. Before starting the up-gradation process, the following points need to be understood.
Upgrading methods
Two methods are in use for up-gradation that are differentiated by their implementation method. Let us discuss these methods in detail.
In-place upgrade of MySQL
As the name implies, this is a process where we replace the existing old version package of MySQL with a newer version. Before starting, make sure the old server has stop and after replacing the package, restart the MySQL 8 server on the existing data directory with the mySQL upgrade.
Perform the following steps...