Version Checking
Overview
Starting from version 2.0.9, ProxySQL includes automatic version checking functionality. During startup, the system connects to the ProxySQL website and logs the latest available version to the error log or standard error output.
Key Features
-
Non-blocking Operation: The version check runs in the background during startup and does not block any processes.
-
Timeout Handling: The check includes a 10-second timeout, making it suitable for environments without internet connectivity.
-
Disabling the Feature: Users can disable version checking by launching ProxySQL with the
--no-version-checkcommand-line flag.
Technical Details
The feature automatically queries https://www.proxysql.com/latest to determine the most current
version, then records this information in the logs. No additional actions are triggered by this
check — it serves purely as an informational mechanism for administrators.
Network Compatibility
The implementation gracefully handles network-restricted environments, as the 10-second timeout prevents connection delays from affecting startup performance.