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
-
Stop the
mysql
service.$ sudo systemctl stop mysql
-
Remove Percona Server for MySQL.
$ sudo apt remove percona-server*
-
Remove the components. Use the following commands to remove the required components.
-
Remove Percona XtraBackup
$ sudo apt remove percona-xtrabackup-84
-
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
-
-
Stop the
mysql
service.$ sudo systemctl stop mysql
-
Remove Percona Server for MySQL.
$ sudo yum remove percona-server*
-
Remove the components. Use the commands below to remove the required components.
-
Remove Percona XtraBackup
$ sudo yum remove percona-xtrabackup-84
-
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
-
Stop the
mysql
service.$ sudo systemctl stop mysql
-
Remove Percona XtraDB Cluster.
$ sudo apt remove percona-xtradb-cluster
-
Remove the components. Use the commands below to remove the required components.
-
Remove Percona XtraBackup
$ sudo apt remove percona-xtrabackup-84
-
Remove Percona Toolkit
$ sudo apt remove percona-toolkit
-
-
Stop the
mysql
service.$ sudo systemctl stop mysql
-
Remove Percona Server for MySQL.
$ sudo yum remove percona-xtradb-cluster
-
Remove the components. Use the commands below to remove the required components.
- Remove Percona XtraBackup
$ sudo yum remove percona-xtrabackup-84
- Remove Percona Toolkit
$ sudo yum remove percona-toolkit
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.