Skip to content

Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

Get free database assistance or contact our experts for personalized support.

Uninstall Percona build of ProxySQL

This task guide removes the Percona build of ProxySQL with a package manager. For installation steps, see Install Percona build of ProxySQL and the admin tools.

Identify the installed package name: proxysql3 for ProxySQL 3 or proxysql2 for ProxySQL 2.

List the installed ProxySQL package

Select the tab that matches your Linux distribution.

Run one of the following commands to list package information before uninstall:

For ProxySQL 3:

$ apt search proxysql3

For ProxySQL 2:

$ apt search proxysql2
Expected output
Sorting... Done
Full Text Search... Done
proxysql2/unknown,now 2.4.4-1.1.focal amd64 [installed]
  High performance MySQL proxy

Run one of the following commands to display package information:

For ProxySQL 3:

$ sudo yum info proxysql3

For ProxySQL 2:

$ sudo yum info proxysql2
Expected output
Last metadata expiration check: 0:07:36 ago on Wed Oct  5 14:42:00 2022.
Installed Packages
Name         : proxysql2
Version      : 2.4.4
Release      : 1.1.el8
Architecture : x86_64
Size         : 88 M
Source       : proxysql2-2.4.4-1.1.el8.src.rpm      Repository   : @System
From repo    : tools-release-x86_64
Summary      : A high-performance MySQL proxy
URL          : http://www.proxysql.com/
License      : GPL+
Description  : A high-performance MySQL proxy

Uninstall ProxySQL

Select the tab that matches your package manager.

APT manages software installation and removal on Debian and Debian-based distributions.

apt remove uninstalls packages and retains configuration files, data, and dependencies. A later reinstall of the same major version reuses those files.

Run one of the following commands to remove ProxySQL:

For ProxySQL 3:

$ sudo apt remove proxysql3

For ProxySQL 2:

$ sudo apt remove proxysql2

Data loss

apt purge removes packages, configuration files, and data. Run apt purge only when you do not need ProxySQL configuration or data.

Run one of the following commands to purge ProxySQL:

For ProxySQL 3:

$ sudo apt purge proxysql3

For ProxySQL 2:

$ sudo apt purge proxysql2

apt autoremove removes unused libraries and dependent packages from prior installs. Run the following command after apt remove or apt purge:

$ sudo apt autoremove

Run one of the following commands to uninstall ProxySQL:

For ProxySQL 3:

$ sudo yum remove proxysql3

For ProxySQL 2:

$ sudo yum remove proxysql2

Run one of the following commands to uninstall ProxySQL and unused dependencies:

For ProxySQL 3:

$ sudo yum autoremove proxysql3

For ProxySQL 2:

$ sudo yum autoremove proxysql2

Last update: 2026-06-12