For some reason you need to downgrade MySQL 5 to MySQL 4.1 to achieve this you will have to do the following:
To check the which all mysql rpm’s are available use the command:
rpm -qa | grep -i mysql-
First of all take a 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
Now, you will have to edit the cPanel config file and make manual changes under this, so edit it with the command:
nano /var/cpanel/cpanel.config
And here, find for the line “mysql-version=5.0” and change it to “mysql-version=4.1”
Now, we will forcefully install mysql by the following command:
/scripts/mysqlup --force
You can now check again with the command:
rpm -qa | grep -i mysql-
This is done and worked for me.
Any suggestions or questions are welcome.
Downgrade MySQL 5 to MySQL 4.1 on cPanel dedicated server
Posted by Mayur's BLOG
Subscribe to:
Post Comments (Atom)
1 comments:
kapil said... September 6, 2011 at 9:42 AM
using your steps i have upgraded mysql version, but after some time phpmyadmin got disappered. Any suggestions
Post a Comment