Skip to content

Upgrade to Percona Server for MySQL Pro

Are you a Percona Customer already and are you ready to enjoy all the benefits of Percona Server for MySQL Pro?

This document provides instructions on how you can upgrade from Percona Server for MySQL to Percona Server for MySQL Pro.

Preconditions

Request the access to the pro repository from Percona Support. You will receive the client ID and the access token which you use when downloading the packages.

Check files in packages built for Percona Server for MySQL Pro

Procedure

  1. Configure the repository

    1. Create the /etc/apt/sources.list.d/psmysql-pro.list configuration file with the following contents

      To get the OPERATING_SYSTEM value, run lsb_release -sc.

      /etc/apt/sources.list.d/psmysql-pro.list
      deb http://repo.percona.com/private/[CLIENTID]-[TOKEN]/ps-80-pro/apt/ OPERATING_SYSTEM main
      
    2. Update the local cache

      $ sudo apt update
      

    Create the /etc/yum.repos.d/psmysql-pro.repo configuration file with the following contents

    /etc/yum.repos.d/psmysql-pro.repo
    [ps-8.0-pro]
    name=PS_8.0_PRO
    baseurl=http://repo.percona.com/private/[CLIENTID]-[TOKEN]/ps-80-pro/yum/main/$releasever/RPMS/x86_64
    enabled=1
    gpgkey = https://repo.percona.com/yum/PERCONA-PACKAGING-KEY
    
  2. Stop the mysql server

    $ sudo systemctl stop mysql
    
  3. Install Percona Server for MySQL Pro packages

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

    Install other required packages. Check files in the DEB package built for Percona Server for MySQL 8.0.

    $ sudo yum install --allowerasing percona-server-server-pro
    

    Install other required packages. Check files in the DEB package built for Percona Server for MySQL 8.0.

  4. Start the server

    $ sudo systemct start mysql
    

Note

On Debian 12, you may receive the following warning after running systemct commands:

Warning: The unit file, source configuration file or drop-ins of mysql.service changed on disk. Run 'systemctl daemon-reload' to reload units.

Run the following command to reload units:

$ sudo systemctl daemon-reload

Downgrade from Percona Server for MySQL Pro

Get expert help

If you need assistance, visit the community forum for comprehensive and free database knowledge, or contact our Percona Database Experts for professional support and services.


Last update: 2024-03-04