> For the complete documentation index, see [llms.txt](https://docs.percona.com/proxysql/llms.txt).

# Percona build of ProxySQL, proxysql-admin, and percona-scheduler-handler documentation

This documentation is for the latest release: Percona ProxySQL admin tools 3.0.9 ([Release notes](https://docs.percona.com/proxysql/3.0.9.md)).

Percona distributes [ProxySQL](https://www.proxysql.com/) from the upstream project without code changes and provides additional tools like proxysql-admin for easier integration with Percona XtraDB Cluster. ProxySQL is a high-performance proxy that sits between client applications and Percona XtraDB Cluster. The proxy manages a connection pool by caching database connections and keeping those connections open for future use. This behavior reduces the overhead of repeatedly establishing and tearing down connections for each SQL request.

Without a connection pool, every SQL query would require a new connection to a cluster node, which would be closed after the query completed. ProxySQL maintains selected connections and reuses them as needed or closes unused connections after a defined idle time. Client applications connect to ProxySQL, which forwards database traffic to the XtraDB Cluster.

The ProxySQL service runs as a daemon and is monitored by a watchdog process capable of restarting it in case of unexpected termination, which helps minimize downtime. The daemon receives traffic from MySQL clients and forwards it to backend MySQL-compatible servers.

Configuration is handled using SQL-like statements, including runtime options, server grouping, and query routing rules. Most settings can be changed dynamically without restarting the proxy.

Note

[ProxySQL 3.0 contains a PostgreSQL module in beta.](https://github.com/sysown/proxysql/releases) The Percona build of ProxySQL is only tested with Percona Server for MySQL.

The [ProxySQL documentation](https://proxysql.com/documentation/) includes detailed guidance on installation, operation, and the use of supporting tools. The maintained releases are listed on [ProxySQL Installation](https://proxysql.com/documentation/installing-proxysql/).

[You can download Percona build of ProxySQL](https://www.percona.com/download-proxysql). Note that Version 1 is no longer actively maintained. The ProxySQL downloads may include:

- [ProxySQL Admin (proxysql-admin)](https://docs.percona.com/proxysql/proxysql-admin-tool-v2-config.md) simplifies the configuration of Percona XtraDB Cluster nodes with ProxySQL.
- [pxc_scheduler_handler](https://docs.percona.com/proxysql/build-psh.md) automatically performs failovers due to node failures, service degradation, or maintenance. Available from [ProxySQL 2.3.2-1.2](https://docs.percona.com/proxysql/release-notes-2.3.2-1.md) and higher.

In 8.4.x environments, the ProxySQL binlog reader can fail to initialize because it uses legacy commands, such as `SHOW MASTER STATUS`. Some internal counters also use outdated terminology. To address most terminology issues, enable the [terminology_use_previous](https://dev.mysql.com/doc/refman/8.4/en/replication-options-replica.html#sysvar_terminology_use_previous) system variable on the database server. This workaround addresses only terminology compatibility and may not fix all failures.

With MySQL 9.x clients, admin and frontend connections fail unless `mysql-default_authentication_plugin` is set to `caching_sha2_password`, because MySQL 9 removes `mysql_native_password`. See [Connect to ProxySQL with MySQL 9.x clients](https://docs.percona.com/proxysql/mysql-9-authentication.md).

### Installation guide

Find the best installation solution with our step-by-step installation instructions.

[Installation instructions](https://docs.percona.com/proxysql/install-v2.md)

## pxc_scheduler_handler tool

Learn about the pxc_scheduler_handler tool.

[pxc_scheduler_handler tool](https://docs.percona.com/proxysql/psh-overview.md)

### proxysql-admin utility

Learn about the proxysql-admin utility.

[proxysql-admin utility](https://docs.percona.com/proxysql/proxysql-admin-tool-v2-config.md)

## Start and stop ProxySQL

Learn about how to start and stop ProxySQL.

[Start and stop ProxySQL](https://docs.percona.com/proxysql/start-or-stop-proxysql2.md)
