0
I am updating Mysql 5.5 to MYSQL 5.7 on Centos 6 server, but after the update the server does not start. I carried out the removal process of version 5.5 of MYSQL to perform update as indicated in several forums. I will unblock the entire process step by step with screenshot, to facilitate the identification of possible errors.
1 - I downloaded the Repo for E6 11.
wget https://dev.mysql.com/get/mysql57-community-release-el6-11.noarch.rpm
2 - I did the local installation
yum localinstall mysql57-community-release-el6-11.noarch.rpm
3 - I removed all previous packages from Mysql 5.7
yum remove mysql57-community-release-el6-11.noarch
yum remove compat-mysql51-5.1.73-1.el6.remi.x86_64
yum remove mysql-libs-5.5.57-1.el6.remi.x86_64
4 - I installed MYSQL 5.7
yum install mysql-community-server
5 - I restarted the MYSQL server 5.7
service mysqld restart
To try to solve the problem I tried the following procedures.
1.2 - I checked the output of my RPM
rpm -qa | grep MySQL
Tried to purge and reinstall?
– AnthraxisBR
Which command? Could explain better?
– Renato Lazaro
I can’t say what the equivalent is in Centos, but in Ubuntu it works like apt-get remove --purge mysql-server, I believe it should be the same thing, then reinstall the vs you want
– AnthraxisBR
In your opinion it might be some file that got corrupted at the time of removal of previous version of MYSQL?
– Renato Lazaro
Well that’s right, probably the uninstallation was not complete, or there was some service running on your system, so you can’t start the new version
– AnthraxisBR