Installing Percona XtraDB Cluster on RHEL and CentOS

Percona provides .rpm packages for 64-bit versions of the following distributions:

  • Red Hat Enterprise Linux and CentOS 6
  • Red Hat Enterprise Linux and CentOS 7


Percona XtraDB Cluster should work on other RPM-based distributions (such as Oracle Linux and Amazon Linux AMI), but it is tested only on platforms listed above.

The packages are available in the official Percona software repositories and on the download page. It is recommended to install Percona XtraDB Cluster from repositories using yum.

Installing from Repositories

Make sure to remove existing Percona XtraDB Cluster 5.5 packages and any Percona Server for MySQL packages before proceeding.

  1. Configure Percona repositories as described in Percona Software Repositories Documentation.

  2. Install the required Percona XtraDB Cluster package using yum. For example, to install the base package, run the following:

    sudo yum install Percona-XtraDB-Cluster-56


    Alternatively, you can install the Percona-XtraDB-Cluster-full-56 meta package, which contains the following additional packages:

    • Percona-XtraDB-Cluster-devel-56
    • Percona-XtraDB-Cluster-test-56
    • Percona-XtraDB-Cluster-debuginfo-56
    • Percona-XtraDB-Cluster-galera-3-debuginfo
    • Percona-XtraDB-Cluster-shared-56

For more information on how to bootstrap the cluster please check Installing Percona XtraDB Cluster on Ubuntu.


Percona XtraDB Cluster requires the socat package, which can be installed from the EPEL repositories.

In CentOS, mysql-libs conflicts with the Percona-XtraDB-Cluster-server-56 package. To avoid this, remove the mysql-libs package before installing Percona XtraDB Cluster. The Percona-Server-shared-56 provides that dependency if required.