Skip to content

Uninstall ProxySQL 2.x.x

You can uninstall ProxySQL 2.x.x using the command line.

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

$ 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

To display package information, use the following command:

$ 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          :
License      : GPL+
Description  : A high-performance MySQL proxy

To uninstall ProxySQL 2, 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 2.x.x with the following command:

$ sudo apt remove proxysql2

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

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

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

$ sudo yum autoremove proxysql2

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-04-18