sudo service mysqld stop
If you want to uninstall the 5.5 series MySQL, it will be "55" as shown below.
sudo yum -y remove mysql-config mysql55-server mysql55-libs mysql55
When installing 5.7 series, specify "57".
sudo yum -y install mysql57-server mysql57
Check the version to see if it was installed properly.
mysql --version
Recommended Posts