Skip to content

Install Percona XtraDB Cluster-based variant

We gather Telemetry data on Percona XtraDB Cluster in the Percona packages and Docker images.

Prerequisites

To install Percona software, you need to configure the required repository. To simplify this process, use the percona-release repository management tool.

  1. Install GnuPG and curl

    $ sudo apt install gnupg2 curl
    
  2. Install percona-release. If you have it installed, update percona-release to the latest version.

Procedure

Important

Run the following commands as the root user or via sudo.

Enable Percona repository

To enable the desired repository, we recommend to use the setup subcommand of percona-release.

$ sudo percona-release setup pdpxc-8.4-lts

Tip

To enable the minor version repository, use the following command:

$ sudo percona-release setup pdpxc-8.4.4

Install Percona Distribution for MySQL packages

  1. Install Percona XtraDB Cluster:

    $ sudo apt install percona-xtradb-cluster
    
  2. Install HAProxy:

    $ sudo apt install percona-haproxy
    
  3. Install the components. Use the commands below to install the required components:

    Install Percona XtraBackup:

    $ sudo apt install percona-xtrabackup-84
    

    Install Percona Toolkit:

    $ sudo apt install percona-toolkit
    

Important

Run the following commands as the root user or via sudo.

Enable Percona repository

To enable the desired repository, we recommend to use the setup subcommand of percona-release.

$ sudo percona-release setup pdpxc-8.4-lts

Tip

To enable the minor version repository, use the following command:

$ sudo percona-release setup pdpxc-8.4.4

Install Percona Distribution for MySQL packages

  1. Install Percona XtraDB Cluster:

    $ sudo yum install percona-xtradb-cluster
    
  2. Install HAProxy:

    $ sudo yum install percona-haproxy
    
  3. Install the components. Use the commands below to install the required components:

    Install Percona XtraBackup:

    $ sudo yum install percona-xtrabackup-84
    

    Install Percona Toolkit:

    $ sudo yum install percona-toolkit
    

Run Percona Distribution for MySQL

Percona Distribution for MySQL is not started automatically on Red Hat Enterprise Linux and CentOS after the installation is complete.

Start it manually using the following command:

$ sudo systemctl start mysql

Confirm that the service is running:

$ sudo systemctl status mysql

Stop the service:

$ sudo systemctl stop mysql

Percona Software Download Instructions