Updating from Mysql 4.0 to 4.1

H

helpline

Guest
There is no option to upgrade from Mysql 4.0 to 4.1 in WHM.

Please advise.. how this can be done reliably .... also.. what are the risks associated?
 

madan.cpanelnet

Well-Known Member
Apr 1, 2006
69
0
156
INDIA
Steps to upgrade to mysql 4.1 using WHM:
--------------------------------------------------
Edit /var/cpanel/cpanel.config file and set

mysql-version=4.1
usemysqloldpass=1

/scripts/mysqlup
/scripts/perlinstaller --force Bundle::BD::mysql
/scripts/easyapache

Next, change mysqlroot password via WHM.




Steps to upgrade to mysql 4.1 using rpm:
----------------------------------------------

MySQL 4.1 rpms
###############
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-client-4.1.21-0.i386.rpm
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-shared-compat-4.1.21-1.i386.rpm
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-bench-4.1.21-0.i386.rpm
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-shared-4.1.21-0.i386.rpm
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-embedded-4.1.21-0.i386.rpm
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-devel-4.1.21-0.i386.rpm
wget http://mysql.sd2.mirrors.redwire.net/Downloads/MySQL-4.1/MySQL-server-4.1.21-0.i386.rpm

root@server11 [~/mysql-4.1.21-rpms]# rpm -Uvh MySQL*.rpm
root@server11 [~]# /scripts/perlinstaller --force Bundle::DBD::mysql
root@server11 [~]# /scripts/easyapache

Next, change mysqlroot password via WHM.