MYSQL does not start after Update version 5.5 to 5.7 on Centos 6.9 server

Asked

Viewed 189 times

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

inserir a descrição da imagem aqui

2 - I did the local installation

yum localinstall mysql57-community-release-el6-11.noarch.rpm

inserir a descrição da imagem aqui inserir a descrição da imagem aqui

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

inserir a descrição da imagem aqui inserir a descrição da imagem aqui

5 - I restarted the MYSQL server 5.7

service mysqld restart

inserir a descrição da imagem aqui

To try to solve the problem I tried the following procedures.

1.1 - I checked disk space inserir a descrição da imagem aqui

1.2 - I checked the output of my RPM

rpm -qa | grep MySQL

inserir a descrição da imagem aqui

  • Tried to purge and reinstall?

  • Which command? Could explain better?

  • 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

  • In your opinion it might be some file that got corrupted at the time of removal of previous version of MYSQL?

  • 1

    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

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.