When sending a lone semicolon (;) as input on both the MySQL and PostgreSQL admin interfaces of ProxySQL, the service crashes unexpectedly. This issue occurs when no valid query is provided, only a semicolon is sent as part of the input.
Steps to Reproduce (MySQL Admin Interface)
Connect to MySQL admin interface using your preferred method (e.g., via the MySQL client or a script).
Example:
mysql -u admin -padmin -h 127.0.0.1 -P6032
After connecting successfully, following commands:
DELIMETER |;|
Observe that ProxySQL crashes.
Steps to Reproduce (PostgreSQL Admin Interface)
Connect to the Proxysql PostgreSQL admin interface:
Example:
psql -U admin -h 127.0.0.1 -p 6132
Once connected, send following command:
;
Observe that ProxySQL crashes.
Expected Behavior
ProxySQL should ignore or handle the lone semicolon gracefully, without crashing. Ideally, it should return an error message indicating an empty command was provided.
Actual Behavior
ProxySQL crashes and becomes unresponsive, requiring a restart to restore functionality.
Issue Description
When sending a lone semicolon (;) as input on both the MySQL and PostgreSQL admin interfaces of ProxySQL, the service crashes unexpectedly. This issue occurs when no valid query is provided, only a semicolon is sent as part of the input.
Steps to Reproduce (MySQL Admin Interface)
Connect to MySQL admin interface using your preferred method (e.g., via the MySQL client or a script).
Example:
mysql -u admin -padmin -h 127.0.0.1 -P6032
After connecting successfully, following commands:
DELIMETER |
;|
Observe that ProxySQL crashes.
Steps to Reproduce (PostgreSQL Admin Interface)
Connect to the Proxysql PostgreSQL admin interface: Example:
psql -U admin -h 127.0.0.1 -p 6132
Once connected, send following command:
;
Observe that ProxySQL crashes.
Expected Behavior
ProxySQL should ignore or handle the lone semicolon gracefully, without crashing. Ideally, it should return an error message indicating an empty command was provided.
Actual Behavior
ProxySQL crashes and becomes unresponsive, requiring a restart to restore functionality.