Skip to content
logo
Percona Distribution for MySQL
Uninstalling Percona Distribution for MySQL
Initializing search
    /percona/pdmysql-docs
    /percona/pdmysql-docs
    • Home
      • Components
      • Deployment variants
      • Install Percona Distribution for MySQL
      • Upgrade Percona Distribution for MySQL
      • Downgrade Percona Distribution for MySQL
      • Technical overview
      • Architecture and components
      • Measurement and monitoring
      • Deployment
      • Replication manager for Percona XtraDB Cluster
      • Replication manager troubleshooting
      • Single replica manager for Percona XtraDB Cluster
      • Uninstalling Percona Distribution for MySQL
      • Release notes index
      • Percona Distribution for MySQL 8.0.32 using Percona Server for MySQL (2023-03-20)
      • Percona Distribution for MySQL 8.0.31 using Percona XtraDB Cluster (2023-03-15)
      • Percona Distribution for MySQL 8.0.31 using Percona Server for MySQL Update (2023-02-15)
      • Percona Distribution for MySQL 8.0.31 using Percona Server for MySQL (2023-02-09)
      • Percona Distribution for MySQL 8.0.30 using Percona XtraDB Cluster Update (2023-01-23)
      • Percona Distribution for MySQL 8.0.30 using Percona Server for MySQL Second Update (2023-01-23)
      • Percona Distribution for MySQL 8.0.30 using Percona Server for MySQL Update (2023-01-06)
      • Percona Distribution for MySQL 8.0.30 using Percona XtraDB Cluster (2022-12-28)
      • Percona Distribution for MySQL 8.0.29 using Percona XtraDB Cluster Update (2022-12-01)
      • Percona Distribution for MySQL 8.0.30 using Percona Server for MySQL (2022-11-29)
      • Percona Distribution for MySQL 8.0.29 using Percona XtraDB Cluster (2022-09-12)
      • Percona Distribution for MySQL 8.0.29 using Percona Server for MySQL (2022-08-09)
      • Percona Distribution for MySQL 8.0.28 using Percona XtraDB Cluster (2022-07-19)
      • Percona Distribution for MySQL 8.0.28 using Percona Server for MySQL Update (2022-06-20)
      • Percona Distribution for MySQL 8.0.28 using Percona Server for MySQL (2022-05-12)
      • Percona Distribution for MySQL 8.0.27 using Percona XtraDB Cluster (2022-04-11)
      • Percona Distribution for MySQL 8.0.27 using Percona Server for MySQL (2022-03-03)
      • Percona Distribution for MySQL 8.0.26 using Percona XtraDB Cluster (2022-01-17)
      • Percona Distribution for MySQL 8.0.26 using Percona Server for MySQL (2021-10-20)
      • Percona Distribution for MySQL 8.0.25 using Percona XtraDB Cluster (2021-11-22)
      • Percona Distribution for MySQL 8.0.25 using Percona Server for MySQL (2021-07-13)
      • Percona Distribution for MySQL 8.0.23 using *Percona XtraDB Cluster* Update (2021-09-15)
      • Percona Distribution for MySQL 8.0.23 using Percona XtraDB Cluster (2021-06-09)
      • Percona Distribution for MySQL 8.0.23 using Percona Server for MySQL (2021-05-12)
      • Percona Distribution for MySQL 8.0.22 using Percona XtraDB Cluster (2021-03-22)
      • Percona Distribution for MySQL 8.0.22 using Percona Server for MySQL (2020-12-14)
      • Percona Distribution for MySQL 8.0.21 using Percona XtraDB Cluster (2020-12-28)
      • Percona Distribution for MySQL 8.0.21 using Percona Server for MySQL (2020-10-13)
      • Percona Distribution for MySQL 8.0.20 using Percona XtraDB Cluster Second Update (2020-10-22)
      • Percona Distribution for MySQL 8.0.20 using Percona XtraDB Cluster Update (2020-10-09)
      • Percona Distribution for MySQL 8.0.20 using Percona XtraDB Cluster (2020-10-01)
      • Percona Distribution for MySQL 8.0.20 using Percona Server for MySQL (2020-07-21)
      • Percona Distribution for MySQL 8.0.19 (2020-06-22)
      • Copyright and Licensing Information
      • Trademark Policy
      • Glossary

    Uninstalling Percona Distribution for MySQL¶

    To uninstall Percona Distribution for MySQL, stop the mysql service and remove all the installed packages using the package manager of your operating system. Optionally, disable Percona repository.

    Note

    Should you need the data files later, back up your data before uninstalling Percona Distribution for MySQL.

    Important

    Run all commands as the root user or via sudo

    1. Stop the mysql service.

      $ sudo systemctl stop mysql
      
    2. Remove Percona Server for MySQL.

      $ sudo apt remove percona-server*
      
    3. Remove the components. Use the following commands to remove the required components.

      • Remove Percona XtraBackup

        $ sudo apt remove percona-xtrabackup-80
        
      • Remove Percona Toolkit

        $ sudo apt remove percona-toolkit
        
      • Remove Orchestrator

        $ sudo apt remove percona-orchestrator*
        

      • Remove MySQL Shell

        $ sudo apt remove percona-mysql-shell
        
      • Remove ProxySQL

        $ sudo apt remove proxysql2
        
      • Remove MySQL Router

        $ sudo apt remove percona-mysql-router
        
    1. Stop the mysql service.

      $ sudo systemctl stop mysql
      
    2. Remove Percona Server for MySQL.

      $ sudo yum remove percona-server*
      
    3. Remove the components. Use the commands below to remove the required components.

      • Remove Percona XtraBackup

        $ sudo yum remove percona-xtrabackup-80
        
      • Remove Percona Toolkit

        $ sudo yum remove percona-toolkit
        
      • Remove Orchestrator

        $ sudo yum remove percona-orchestrator*
        
      • Remove MySQL Shell

        $ sudo yum remove percona-mysql-shell
        
      • Remove ProxySQL

        $ sudo yum remove proxysql2
        
      • Remove MySQL Router

        $ sudo yum remove percona-mysql-router
        

    Important

    Run all commands as the root user or via sudo

    1. Stop the mysql service.

      $ sudo systemctl stop mysql
      
    2. Remove Percona XtraDB Cluster.

      $ sudo apt remove percona-xtradb-cluster
      
    3. Remove the components. Use the commands below to remove the required components.

      • Remove Percona XtraBackup

        $ sudo apt remove percona-xtrabackup-80
        
      • Remove Percona Toolkit

        $ sudo apt remove percona-toolkit
        
    1. Stop the mysql service.

      $ sudo systemctl stop mysql
      
    2. Remove Percona Server for MySQL.

      $ sudo yum remove percona-xtradb-cluster
      
    3. Remove the components. Use the commands below to remove the required components.

      • Remove Percona XtraBackup
      $ sudo yum remove percona-xtrabackup-80
      
      • Remove Percona Toolkit
      $ sudo yum remove percona-toolkit
      

    Contact us

    For free technical help, visit the Percona Community Forum.

    To report bugs or submit feature requests, open a JIRA ticket.

    For paid support and managed or consulting services , contact Percona Sales.


    Last update: 2023-03-20
    Percona LLC and/or its affiliates, © 2023
    Made with Material for MkDocs

    Cookie consent

    We use cookies to recognize your repeated visits and preferences, as well as to measure the effectiveness of our documentation and whether users find what they're searching for. With your consent, you're helping us to make our documentation better.