SOLVED Re-install MySQL56-server-5.6.39-1.cp1162.x86_64?

mbay2002

Registered
May 14, 2018
3
0
1
United States
cPanel Access Level
Root Administrator
I was trying to install postfix and had a it had wanted to install a different version of mySQL...

I did a
rpm -ev --nodeps MySQL56-server-5.6.39-1.cp1162.x86_64

and postfix installed, but need to get MySQL56-server-5.6.39-1.cp1162.x86_64 back, it appears I can't connect to my database.

Is it possible to re-install MySQL56-server-5.6.39-1.cp1162.x86_64?
 

mbay2002

Registered
May 14, 2018
3
0
1
United States
cPanel Access Level
Root Administrator
OK, solved it... removed postfix and the version of mySQL that it installed.
Then went into WHM -> cPanel -> upgrade to latest version (checked force install).

I got the cPanel version of mySQl back. Had to manually change passwords and add users and permissions as needed...I hadn't backed up any databases but looks like I got lucky because they were saved in /var/lib/mysql/mysql

I'm back in business. This thread can be closed.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,911
2,234
363
Hello,

I'm glad to see you were able to solve the issue. Thank you for sharing the outcome.