Skip to content

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.

For instructions for binary tarballs, see Install MySQL 5.7 Post-EOL Support from Percona release from a binary tarball.

Procedure

  1. 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.

  2. Configure the repository and install Percona Server for MySQL packages

    1. Download the Percona gpg key:

      $ wget https://github.com/percona/percona-repositories/raw/main/deb/percona-keyring.gpg
      
    2. Add the Percona gpg key to trusted.gpg.d directory:

      $ sudo cp percona-keyring.gpg /etc/apt/trusted.gpg.d/
      
    3. 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, run lsb_release -sc.

      /etc/apt/sources.list.d/post-eol.list
      deb http://repo.percona.com/private/[CLIENTID]-[TOKEN]/ps-57-eol/apt/ OPERATING_SYSTEM main
      
    4. Update the local cache

      $ sudo apt update
      
    5. Install Percona Server for MySQL packages

      $ sudo apt install -y percona-server-server-5.7
      

      Install other required packages.

    1. 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.repo
      baseurl=http://repo.percona.com/private/[CLIENTID]-[TOKEN]/ps-57-eol/yum/main/$releasever/RPMS/x86_64
      enabled=1
      gpgkey = https://repo.percona.com/yum/PERCONA-PACKAGING-KEY
      
    2. Install Percona Server for MySQL packages

      $ sudo yum install -y percona-server-server-5.7
      

Last update: 2024-03-14