Article ID: 2795, created on Oct 29, 2007, last review on May 9, 2014

  • Applies to:
  • Pro Control Panel Linux

AdditionalInformation

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

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF