Article ID: 2793, created on Oct 29, 2007, last review on Apr 18, 2012

  • Applies to:
  • Pro Control Panel Linux

AdditionalInformation

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

Title
Upgrading mysql to 5.0 from 4.1 for CentOS 4.1, CentOS 4.2 and CentOS 4.3 Only.

Summary
Upgrading mysql to 5.0 from 4.1. for CentOS 4.1, CentOS 4.2 and CentOS 4.3 Only.

Prevention


Details

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

1. Download the mysql rpm's:
http://dev.centos.org/centos/4/testing/i386/RPMS/

mysql-5.0.18-1.c4.i386.rpm
mysql-server-5.0.18-1.c4.i386.rpm
mysqlclient14-4.1.14-4.c4.i386.rpm

2. 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-server
N:S,rpm:mysqlclient14

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.

NOTE: The rpms used in the KB are the standard rpms and accordingly the same are included in /etc/virtualhosting/filelists/siteinfo.sh, If you are using any other rpm than this please make sure that you use the proper package name to include in the file. Failing to do so may not give you proper result.


Attachments


Related Knowledge

Related Links
 
Last ModifiedUsageSatisfiedLast Used
6/13/2006 11:34:24 PM2261710/12/2007 4:10:24 AM

4cc899da08664637a8bc437308d3ddd7 3ccb419cf98083f3bb45808fba8dbc7c 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF