Trino Troubleshooting¶
When Test connection or an operation fails on a Trino datastore, the error message points to the layer that failed: the credentials, the access control rules, or the connection to the coordinator.
Problems every connector shares
A server that cannot be reached, a red status dot, a credential changed at the source, Secrets Management errors, an empty schema list, missing tables, and a blocked deletion are covered on Source Datastore Troubleshooting. This page covers the errors specific to Trino.
Common Errors¶
| Error | Likely Cause | Fix |
|---|---|---|
Access Denied: Cannot select from table |
The user lacks SELECT on the target table in the Trino access control rules or the underlying connector |
Add SELECT permission for the user in rules.json or grant access in the underlying data source |
Catalog does not exist |
The catalog name in the connection form does not match a configured Trino catalog | Verify available catalogs with SHOW CATALOGS in Trino |
Schema does not exist |
The schema name does not exist in the specified catalog | Verify available schemas with SHOW SCHEMAS FROM <catalog> |
Connection refused |
The Trino coordinator is not reachable or the port (default 8080) is incorrect | Verify the host, port, and that the Trino coordinator is running |
Authentication failed |
Incorrect username or password, or the Trino server requires a different authentication method | Verify credentials and check if the Trino server uses LDAP, Kerberos, or password authentication |
Detailed Notes¶
Authentication Errors¶
The error Authentication failed indicates that the credentials are incorrect or the authentication method does not match the server configuration.
Common causes:
- Incorrect password: the password does not match the one configured in the Trino server.
- Wrong authentication method: the Trino server uses LDAP or Kerberos, but the connection form provides basic username/password.
- HTTPS required: the Trino coordinator requires HTTPS connections, but the connection is using HTTP.
Note
Trino authentication is configured at the coordinator level. Check the password-authenticator.properties file for the configured authentication method.
Permission Errors¶
The error Access Denied: Cannot select from table or Access Denied: Cannot create table means the user authenticated successfully but lacks access to the target resource.
Common causes:
- File-based access control: the
rules.jsonfile does not grant the required permissions to the Qualytics user. - Connector-level security: the underlying data source does not grant the necessary access.
Connection Errors¶
The error Connection refused or Catalog does not exist indicates a connectivity or configuration issue.
Common causes:
- Coordinator not reachable: the Trino coordinator host or port (default 8080) is incorrect.
- Wrong catalog name: the catalog name in the connection form does not match a configured Trino catalog.
- Coordinator not running: the Trino coordinator process is not started.
When the host, port, and catalog are right and the coordinator is running, the network path is the remaining cause; see Reaching the Data Source.