Product:
Search Type:

Upgrading mysql to 5.0 from 4.1 for RHEL 4 Only.

Article ID: 2795 
Last Review: Oct,29 2007
APPLIES TO:
  • Parallels Pro Control Panel Linux

Additional information

View Knowledge
Knowledge ID 2180
Product : Ensim Pro for Linux
Version : 4.1.0
Topic : Hotfix

Title
Upgrading mysql to 5.0 from 4.1 for RHEL 4 Only.

Summary
Upgrading mysql to 5.0 from 4.1. for RHEL 4 Only.

Prevention


Details

To upgrade mysql from 4.1 to 5.0, following are the steps:



1. Download the mysql rpm's:

http://dev.mysql.com/downloads/mysql/5.0.html or http://downloads.mysql.com/archives.php?p=mysql-5.0



MySQL-server-standard-5.0.18-0.rhel4.i386.rpm

MySQL-client-standard-5.0.18-0.rhel4.i386.rpm

MySQL-devel-standard-5.0.18-0.rhel4.i386.rpm

MySQL-shared-standard-5.0.18-0.rhel4.i386.rpm



2. For backward compatibility, download the following rpm:

http://dev.centos.org/centos/4/testing/i386/RPMS/mysqlclient14-4.1.14-1.i386.rpm



3. Install the downloaded packages:

 a. service mysqld stop

 b. rpm -Uvh *.rpm

 c. ln -s /etc/init.d/mysqld_app_init /etc/init.d/mysqld



4. Add the following entry in /etc/virtualhosting/filelists/siteinfo.sh



N:S,rpm:MySQL-shared-standard

N:S,rpm:MySQL-client-standard

N:S,rpm:MySQL-devel-standard

N:S,rpm:MySQL-server-standard

N:S,rpm:mysqlclinet14





5. Run the server through maintenance mode:.



 a. set_pre_maintenance

 b. set_maintenance

 c. set_post_maintenance

 d service webppliance restart



6. Start mysqld service and verify that the mysqld service is running properly.



Attachments


Related Knowledge

Related Links
 
Last ModifiedUsageSatisfiedLast Used
3/1/2006 10:19:52 PM257 10/12/2007 4:11:25 AM

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields