Complete steps to upgrade MySQL 5.6 to MySQL 5.7
Description of current setup:
We are currently using MySQL 5.6.34 on Linux Centos 7.
The upgrade version we have chosen is MySQL 5.7.21
Take dump of mysql schema and other important ones. (in case u need to downgrade to current version)
Stop MySQL service:
service mysql stop;
Remove your current MySQL rpms:
First select all installed MySQL rpms
yum list installed|grep -i "mysql"
Then you can remove all rpms having string 5.6 in their names Read More