Mysql-downgrade-on-Cpanel-Server


Downgrade MySQL on cPanel dedicated server

Check mysql rpm’s are available

rpm -qa | grep -i mysql-

backup of /var/lib/mysql, and also ask the other users to keep a backup it with them. This can also be a .sql file. The command to take a backup is:

cp /var/lib/mysql /var/lib/mysql.bk

Edit the cPanel config file.

nano /var/cpanel/cpanel.config

And here, find for the line “mysql-version=5.0” and change it to “mysql-version=4.1”

Forcefully install mysql

/scripts/mysqlup --force

You can now check again with the command:

rpm -qa | grep -i mysql-