Upgrading Existing CentOS 5 with Percona Server

By jbayer - Last updated: Saturday, December 31, 2011 - Save & Share - Leave a Comment

Percona has fixed a number of bugs and made improvements to MySql.  If you want to upgrade your mysql server to Percona Server, the following steps are necessary to upgrade an existing CentOS 5 server.  Be sure to backup your database BEFORE doing this.

Install Percona Yum repository:

     rpm -Uhv http://www.percona.com/downloads/percona-release/percona-release-0.0-1.x86_64.rpm

Identify the mysql rpms:

     Rpm –q –a | grep “^mysql-5“

Remove mysql rpms (use the actual RPM version found in step 2):

     rpm –e mysql-5.0.77-4.el5_6_6.i386 --nodeps
     rpm –e mysql  --nodeps
     yum remove mysql-server

 

Install Percona server.  The following commands assume Percona Server 5.5

     yum install Percona-Server-client-55.x86_64 \
        Percona-Server-server-55.x86_64 \
        Percona-Server-shared-55.x86_64 \
        Percona-Server-shared-compat.x86_64 \
        xtrabackup.x86_64

 

Posted in Database • • Top Of Page
889 views

Write a comment

asd