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.
