Connect to Trino data source

Using the Trino connection type in the Bold Reports® Web Report Designer, you can connect to a Trino cluster and use data from supported catalogs and schemas in your reports.

How do I create a Trino data source?

To create a Trino data source in the Bold Reports® Web Report Designer, open the Data configuration panel and enter your Trino server details.

  1. Click the Data icon in the configuration panel. Data icon configuration panel
  2. In the DATA configuration panel, click the NEW DATA option. New Data Panel
  3. In the Connection type panel, select Trino as the data source type. Connection types panel
  4. In the NEW DATASOURCE panel, provide the following details:
    • Specify the data source name without special characters in the Name field.
    • In the Server Name field, specify the Trino server name. For HTTPS-enabled Trino servers, enter the server name with the https:// prefix, for example, https://trino.example.com. For non-HTTPS connections, specify only the server name, such as trino.example.com.
    • In the Port field, specify the port number. The default port number is 8080.
    • In the Catalog Name field, specify the name of the Trino catalog to connect to, like sqlserver, oracle, etc.
    • In the Authentication Type field, choose None or BasicHttpAuthentication. Refer to Authentication types for more details.
    • Choose or enter an existing valid database (Trino schema) in the Database field. Trino datasource properties
    • Configure the Trust Server Certificate option based on your Trino server configuration. Enable this option only if your Trino server uses a self-signed or custom certificate in a trusted environment. Trust Server Certificate
  5. Click the Connect option to connect Bold Reports® with the Trino server.
  6. Drag and drop the table from the table schema in the query design view page. Query Designer
  7. Click the Finish option to save the data source with a relevant name and continue designing the report. Data List

Which authentication types can I use?

The Trino data source in Bold Reports® supports the following authentication types:

None - Choose None when the Trino server does not require authentication or when authentication is handled by another mechanism.

Authentication - None

BasicHttpAuthentication - A username and password must be supplied to access the Trino server. The credentials are passed to the Trino server for HTTP Basic authentication.

Authentication - BasicHttpAuthentication

Enable the Save Password option to embed the credentials within the report when saving it in Bold Reports® Report Server.

On report download action, the credentials will not be saved with report data.

How do I connect to Trino through an SSH tunnel?

Bold Reports® lets you connect to a Trino data source using a secure SSH tunnel. The SSH tunnel provides a more secure method for connecting, especially when you access remote servers over untrusted or insecure networks.

Enable-SSH

Refer to Configuring SSH tunnel for data connectors for more details.

Frequently asked questions

When should I include the https:// prefix in the Server Name?

Include the https:// prefix (for example, https://trino.example.com) only when your Trino server has SSL/TLS encryption enabled for secure HTTPS connections. For non-HTTPS connections or when communicating over standard HTTP, specify only the hostname or IP address without any protocol prefix (for example, trino.example.com).

Can I browse catalogs and schemas?

Yes. The schema browser lists the tables available in the configured catalog and schema. Both Catalog Name and Database fields are required to browse schema information.

Which authentication methods are supported?

The Trino data source supports None and BasicHttpAuthentication.

What is the default Trino port?

The default port number is 8080.

Can I use report parameters in a query?

Yes. Query parameters recognized by Bold Reports® are updated before the query is submitted to Trino.

What should I check if the connection fails?

Confirm the server name, port, catalog name, and credentials. For schema browsing, verify the catalog and schema names and confirm the Trino user has sufficient permissions to access them. If using TLS, ensure certificate validation is properly configured or, for self-signed certificates, enable the Trust Server Certificate option.

See Also