Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: MySQL downgrade on cPanel server  (Read 2301 times)

0 Members and 1 Guest are viewing this topic.

vinayakk

  • Guest
MySQL downgrade on cPanel server
« on: January 11, 2014, 02:56:29 am »
You know downgrades are not recommended, it’s always best to stick with a newer version and work around whatever issues you have but if you really have to downgrade then this way is pretty easy and always works 99% of the time to be honest.

As always make sure you take BACKUPS of your databases and mysql directory before you continue..

Edit /var/cpanel/cpanel.config and look for the mysql-version line and edit the number to whatever version you need i.e.

mysql-version=5.5

to

mysql-version=5.1

Save it and run the following command:

/scripts/mysqlup --force

After this is done – login to your WHM control panel and run easyeapache and rebuild based on your last profile to connect everything back together.

 :)