Skip to content

For help, click the link below to get free database assistance or contact our experts for personalized support.

Uninstall Percona build of ProxySQL

You can uninstall ProxySQL using the command line. Make sure to use the correct package name for the version you installed, such as proxysql2 or proxysql3.

To find information before uninstalling or removing the ProxySQL2 package, run the following command:

$ apt search proxysql2

or

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

To display package information, use the following command:

$ sudo yum info proxysql2

or

$ sudo yum info proxysql3
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

To uninstall ProxySQL, the following instructions are based on the package manager.

The Advanced Package Tool (APT) handles the software installation and removal on Debian and Debian-based Linux distributions.

The apt remove removes the packages. Any configuration files, data, and dependencies remain in the system. If you reinstall ProxySQL 2.x.x, the software uses the same configuration files, data, and dependencies. The reinstallation may ask to override the existing files.

You can uninstall ProxySQL with the following command:

$ sudo apt remove proxysql2

or

$ sudo apt remove proxysql3

The apt purge removes the packages and any configuration files and data. You can also use apt purge to remove packages for an uninstalled application.

$ sudo apt purge proxysql2

or

$ sudo apt purge proxysql3

The apt autoremove removes the packages, configuration files, data, and any unused libraries or dependent packages that were installed when the application was installed.

To remove them, run the following command:

$ sudo apt autoremove

To uninstall ProxySQL 2.x.x, use the following command:

$ sudo yum remove proxysql2

or

$ sudo yum remove proxysql3

To uninstall ProxySQL 2.x.x along with unused dependencies, use the following command:

$ sudo yum autoremove proxysql2

or

$ sudo yum autoremove proxysql3

Last update: 2025-06-02