ProxySQL 3.0.13 Release Notes
Released November 28, 2026.
ProxySQL 3.0.13 adds HTTPS for Prometheus and the REST API, lets you start just the MySQL or PostgreSQL services you use, and fixes several ways database requests could hang or reach the wrong server.
Highlights
- PostgreSQL clients can cancel a query while it waits for a database connection. An interrupted
COPYno longer leaves a connection in the pool that could interfere with another client. - In MySQL, a failed statement no longer sends the next query away from an active transaction when
transaction_persistentis enabled.
New Features
Protect the REST API and Prometheus endpoint
Set admin-restapi_use_ssl=true to serve the REST API and /metrics over HTTPS. To restrict access to clients with a trusted certificate, enable admin-restapi_ssl_verify_client and configure the client CA. You can also bind the listener to a specific IPv4 or IPv6 address or a Unix socket with admin-restapi_interface. Upgrading keeps existing listeners on HTTP unless you enable HTTPS. REST API configuration
Start only the database services you use
Both protocols start by default. To run just one, disable the other protocol's components in the top-level configuration.
- PostgreSQL only. Set
mysql-workers=false,mysql-admin=false, andmysql-monitor=false. - MySQL only. Set
pgsql-workers=false,pgsql-admin=false, andpgsql-monitor=false.
Either Admin listener can still configure both protocols. Startup controls
Keep PostgreSQL session settings when reusing connections
If your application calls set_config() to set a schema search path, ProxySQL can now carry that setting over when it gives the application a different pooled connection. This works for supported calls with literal arguments when the ParserSQL SET parser is enabled. Rolling back the change also restores the previous setting. Configuration and supported calls
Bug Fixes
MySQL and MariaDB
- Fixed a crash that could occur during MySQL login in debug builds when ProxySQL logged the selected database. #6738
- MariaDB
SET STATEMENT … FORnow follows query rules. Previously it could go to the user's default server group and fail withUnknown databaseif the schema was only on the server group selected by the rule. ProxySQL also recognizes how MariaDB Connector/J 3.5.11 and later initialize a session, so the driver's first command no longer prevents later queries from following routing rules. #6592 · #6638 - With
transaction_persistentenabled, aSELECTafter a failedINSERTstays on the writer while the transaction is open. ProxySQL also rejects an unscopedSET TRANSACTIONimmediately inside an active transaction, so the error no longer surfaces on the next query. #6618 - Query statistics now group savepoint statements that differ only in the savepoint name. For example,
SAVEPOINT aandSAVEPOINT bboth appear asSAVEPOINT ?. Review any query rule that matches the old digest for a specific savepoint name. #6675
PostgreSQL
- Drivers can use
Flushto read available responses before sendingSync. If an extended query fails, ProxySQL now waits forSyncbefore accepting the next batch as required by PostgreSQL, so the connection can continue after the error. #6577 - Large
COPYtransfers leave more time for other sessions on the same worker. SQL queued during a transfer waits for it to finish. If a transfer is interrupted, ProxySQL discards the backend connection instead of lending it to another client. #6502 · #6634 · #6669 - Cancelling a query while it waits for a backend connection stops it from running later. Cancellation also reaches PostgreSQL in fast-forward mode, and cancelling an idle session leaves it connected. #6577
- The simple-query cache now keeps results separate for different session settings. For example, two clients using the same login with different
search_pathvalues get separate cache entries even when their SQL is identical. #6638 · #6651 - A wrong password or invalid database name no longer makes ProxySQL take a healthy PostgreSQL server out of rotation. Backend error metrics now use PostgreSQL's SQLSTATE error codes, so check dashboards that filter on the old
9999code. #6655 - Older libpq clients could hang while reading some large results over TLS. ProxySQL now sends smaller TLS records so those clients can finish reading. #6722
- A configured
pgsql-init_connector hostgroupinit_connectpreviously could hang the first query on a new connection. In 3.0.13 ProxySQL logs a warning and ignores these settings so the query can proceed. #6709
Operations
PROXYSQL STOPnow acknowledges the command before disconnecting Admin clients. Reconnect to Admin to issuePROXYSQL START. A quick stop immediately after a start can no longer hit the listener race that could crash ProxySQL. #6559 · #6719- Trying to save query rules or firewall settings while the corresponding runtime is unavailable returns an error and preserves the saved configuration. #6559
- Cluster skips a sync when a peer returns an unusable response and keeps the local configuration. A separate fix prevents routine Admin commands, including reading Prometheus metrics, from getting stuck during synchronization. #6705 · #6502
- Fixed a potential crash when an idle MySQL or PostgreSQL backend answered a pool health check immediately. With
--idle-threads, ProxySQL also finishes sending TLS results that could previously stall partway through. #6626 · #6707
Security Fixes
- Fixed memory corruption when ProxySQL processed malformed MySQL packets after a client logged in. Reported by Uvi-12. GHSA-w9p8-gf9c-hffr
- Fixed a read beyond the end of a malformed PostgreSQL login message that could crash ProxySQL before authentication. Reported by Uvi-12. GHSA-5xv5-24pg-gmq8
- Fixed a separate crash during PostgreSQL SCRAM password authentication when the client's login message was incomplete. Reported by aoi0120. GHSA-qhxc-2rc8-r6hh
Dependencies
Platform Support
This is the last planned feature release with AlmaLinux 8 packages. #6734