Install MySQL 5.7 Post-EOL Support from Percona releases¶
This document provides guidelines on installing Percona Xtradb Cluster packages from Percona repositories. For more information, see MySQL 5.7 Post-EOL Support from Percona.
For instructions for binary tarballs, see Install MySQL 5.7 Post-EOL Support from Percona release from a binary tarball.
Procedure¶
-
Request access to the MySQL 5.7 Post-EOL Support from Percona repository from Percona Support to receive the client ID and the access token needed to download the packages.
-
Configure the repository and install Percona Xtradb Cluster packages
-
Download the Percona
gpg
key:$ wget https://github.com/percona/percona-repositories/raw/main/deb/percona-keyring.gpg
-
Add the Percona
gpg
key totrusted.gpg.d
directory:$ sudo cp percona-keyring.gpg /etc/apt/trusted.gpg.d/
-
Create the
/etc/apt/sources.list.d/post-eol.list
configuration file with the following contents with your [CLIENTID] and [TOKEN].To get the
OPERATING_SYSTEM
value, runlsb_release -sc
./etc/apt/sources.list.d/post-eol.listdeb http://repo.percona.com/private/[CLIENTID]-[TOKEN]/pxc-57-eol/apt/ OPERATING_SYSTEM main
-
Update the local cache
$ sudo apt update
-
Install Percona Xtradb Cluster packages
$ sudo apt install -y percona-xtradb-cluster-5.7
Install other required packages.
-
Create the
/etc/yum.repos.d/post-eol.repo
configuration file with the following contents with your [CLIENTID] and [TOKEN]./etc/yum.repos.d/post-eol.repobaseurl=http://repo.percona.com/private/[Clientid]-[Token]/pxc-57-eol/yum/release/$releasever/RPMS/x86_64 enabled=1 gpgkey = https://repo.percona.com/yum/PERCONA-PACKAGING-KEY
-
Install Percona Xtradb Cluster for MySQL packages
$ sudo yum install -y percona-xtradb-cluster-5.7
-