Reinstall Included MySQL 5.5? Help!

Oct 1, 2013
6
0
1
cPanel Access Level
Root Administrator
I know you don't support MySQL Downgrades.
However, I just reinstalled WHM on a server that had a Hard Drive failure. Now, i'm with MYSQL 5.5. One of the programs we use works better with 5.1.

What to do >.>
 

MikeDVB

Well-Known Member
PartnerNOC
Jun 4, 2008
220
6
68
Indiana, USA
Understand I haven't tested any of this, do it at your own risk - but it should work or be very close.

I imagine you'll want to back up your databases/dump them before doing anything just in case. [Take a backup.]

Remove the MySQL RPMs installed by cPanel. "yum remove mysql" should do it I imagine.

Then run this via SSH:
/scripts/update_local_rpm_versions --edit target_settings.MySQL55 uninstalled

You should now be able to choose the MySQL version and install it via WHM I imagine if I haven't forgotten anything.

There will be some obvious MySQL downtime and Apache+PHP will need rebuilt.

There may be an easier way, but this should work if I'm not missing anything.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

The steps listed in the previous post should work. However, are you positive that your scripts are not compatible with MySQL version 5.5? It may be worth looking into because at some point you will want to upgrade MySQL to the newer version.

Thank you.