Skip to main content

Adding Trino/Presto Connection

Adding a New Database:

In the 'Manage Warehouses' section:

  • Click on 'Add New', select type as 'Trino'
  • A form will be presented to you. Fill out the necessary details for your connection.
    • Host/port:
      • Enter host:port of the Trino server. For example, host:8080
    • Database:
      • Enter one of the databases you want to connect to.
    • Username:
      • Enter the username to connect to the database.
    • Password:
      • Enter the password to connect to the database, it can be empty if the database doesn't require a password.
  • After entering the details, click on Submit.

Example of connecting with Trino (local Docker container):

Follow the instruction: https://trino.io/docs/current/installation/containers.html to start a Trino server in a Docker container.

In the 'Add New' form:

  • Host/port:
    • Enter localhost:8080
  • Database:
    • Enter tpch
  • Username:
    • Enter admin
  • Password:
    • Leave empty