Hi Trino Support Team,
We are currently facing issue with Trino driver that Test connection is passing with invalid configuration.
We observed that the driver returns a successful "Test Connection" even when the JDBC URL (catalog/schema) or username is incorrect, as long as the host is reachable and the password is either correct or not required. This leads to false positives in connection testing — the connection appears successful, but subsequent metadata extraction fails or returns no results.
To reproduce:
Providing an invalid JDBC URL path (e.g., non-existent catalog)
Using an incorrect or non-existent username (with authentication disabled)
Despite these misconfigurations, the driver reports a successful connection. This behaviour is also reproducible via DBeaver.
We have documented this issue internally and would appreciate your guidance on:
Whether this is expected behaviour
Any recommended configuration or future driver changes to improve validation
Please let us know if further details, logs, or reproduction steps are needed. We are happy to assist.
Best regards,
Krishna Sandeep