Skip to content

Trino JDBC Driver - Incorrect "Test Connection" Success Despite Invalid Configuration #25819

@krishna-sandeep-alation

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions