Configure Trino client

Connect with Trino CLI

  1. Download the Trino CLI Client.
Bash
Copy
  1. Connect to Trino with LDAP Authentication.
Bash
Copy
  1. Connect to Trino with Kerberos Authentication + SSL (insecure).
Bash
Copy
  1. Connect to Trino with Kerberos Authentication + SSL (secure) via java command.
Bash
Copy
  1. Verify the connection.

At the trino> prompt, run:

Bash
Copy
  • If successful: You will see the list of configured data sources.
  • If unauthorized: You will see an error: Authentication failed: Unauthorized.
  • Ensure Java 23 is installed and correctly set in your PATH.
  • CLI requires SSL when authentication (Kerberos/LDAP) is enabled.

Connect with JDBC

Updated JDBC Driver Location on Trino Nodes for ODP Versions:

Bash
Copy

JDBC over LDAP

The following is an example of JDBC connection info required to connect over SSL (and LDAP):

JDBC over Kerberos

  • Sample configurations required when connecting with JDBC over Kerberos.
  • Configure the driver properties with kerberos details. You can refer to below example.

Connect with ODBC

Trino supports ODBC connectivity through third-party drivers, enabling integration with various BI tools and applications.

  • Simba Trino ODBC Driver: Developed by insightsoftware, this driver is widely used for connecting Trino to BI tools like Tableau, Power BI, and Excel. It supports Windows, macOS, and Linux platforms. For detailed installation and configuration instructions, see Simba Trino ODBC Driver Documentation.
  • Starburst ODBC Driver: Tailored for Starburst Enterprise, this driver is compatible with Trino and supports multiple operating systems. For more information, see Starburst ODBC Driver Documentation
  • Community ODBC Drivers: Open-source projects like the one by Skilld Labs offer community-supported ODBC drivers for Trino. These may require manual setup and are best suited for development or testing environments. For more information, see Skilld Labs Trino ODBC Driver.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated