Install MySQL 5.7 Post-EOL Support from Percona releases¶
This document provides guidelines on installing Percona Server packages for MySQL from Percona repositories. For more information, see MySQL 5.7 Post-EOL Support from Percona.
Version 5.7.44-51 contains fixes as part of the MySQL 5.7 post-EOL support from Percona, available to customers.
Community members can build this release from the source.
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 Server for MySQL 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]/ps-57-eol/apt/ OPERATING_SYSTEM main
-
Update the local cache
$ sudo apt update
-
Install Percona Server for MySQL packages
$ sudo apt install -y percona-server-server-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]/ps-57-eol/yum/release/$releasever/RPMS/x86_64 enabled=1 gpgkey = https://repo.percona.com/yum/PERCONA-PACKAGING-KEY
-
Install Percona Server for MySQL packages
$ sudo yum install -y percona-server-server-5.7
-