You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings > General > Query timeout is set to 600 seconds, and the preference is persisted correctly. However, a manual query or stored procedure executed from a query tab fails after approximately 60 seconds with:
[2026] TLS/SSL error: Operation timed out (60) (SQLSTATE: HY000)
The stored procedure continues running on the database server and completes successfully despite TablePro reporting the timeout. This makes the result ambiguous and creates a risk of accidentally executing a procedure twice.
This appears to be a separate MariaDB Connector/C socket read timeout (MYSQL_OPT_READ_TIMEOUT) that does not honor the configured query-execution timeout. The related ClickHouse issue #1267 had the same general problem: a transport timeout fired before the configured query timeout.
Steps to reproduce
Step 1: Open Settings > General and set Query timeout to 600 seconds.
Step 2: Fully disconnect/reconnect the MySQL connection or restart TablePro.
Step 3: Open a query tab.
Step 4: Execute a manual query or call a stored procedure that runs for longer than 60 seconds without returning a result packet.
Step 5: At approximately 60 seconds, TablePro reports [2026] TLS/SSL error: Operation timed out (60) (SQLSTATE: HY000).
Step 6: Check the database from another connection or inspect the procedure's effects; the procedure continues and completes successfully.
Expected behavior
TablePro should wait for the configured 600-second query timeout. The MySQL/MariaDB connector's read timeout should be derived from the configured query timeout, ideally with a small grace period, instead of expiring at 60 seconds.
Activity
fix(plugin-mysql): make socket read timeout follow the query timeout (#…