Upgrade MySQL 5.7 to MySQL 8
To upgrade in Ubuntu 18.04 server.
Step I: Get the upgrade command shell and check upgrade issues
Get the MySQL Shell download link here: https://dev.mysql.com/downloads/shell/
This shell will assist in finding issues with the current installation.
Install the MySQL upgrade shell with the command
This will make available the mysqlsh command. Execute this mysqlsh command with root user to access the MySQL JS shell.
dpkg -i mysql-shell_8.0.30-1ubuntu18.04_amd64.debThis will make available the mysqlsh command. Execute this mysqlsh command with root user to access the MySQL JS shell.
mysqlsh