sysown / proxysql

High-performance MySQL proxy with a GPL license.
http://www.proxysql.com
GNU General Public License v3.0
5.94k stars 969 forks source link

Implement auto tuning of mysql-server_version #4498

Open renecannao opened 5 months ago

renecannao commented 5 months ago

As part of MySQL protocol, the server advertises its version during the initial packet handshake. In ProxySQL this is controlled by mysql-server_version , and if this is not configured correctly it can create a lot of misbehaviors in several application drivers. This is still a source of confusion as many users are not aware of this variable.

When ProxySQL is executed in bootstrap mode against a Group Replication / InnoDB Cluster , mysql-server_version is configured automatically.

We can implement an even more generic feature:

Because servers can be added and removed at all time, proxysql should re-evaluate mysql-server_version at intervals multiple of mysql-monitor_connect_interval

All till latest release 2.6.2

All

jimpriest commented 2 weeks ago

Ran into this issue today with a ColdFusion application. Having ProxySQL automatically set this would be helpful!