From 77d17152bc7d0c40f71830d018bd040c6eac7cf6 Mon Sep 17 00:00:00 2001 From: Aakash Nand Date: Wed, 28 Apr 2021 08:51:00 +0900 Subject: [PATCH] Update trino connection docs (#14219) --- docs/src/pages/docs/Connecting to Databases/trino.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/src/pages/docs/Connecting to Databases/trino.mdx b/docs/src/pages/docs/Connecting to Databases/trino.mdx index c818f6c84..418956c2b 100644 --- a/docs/src/pages/docs/Connecting to Databases/trino.mdx +++ b/docs/src/pages/docs/Connecting to Databases/trino.mdx @@ -8,6 +8,8 @@ version: 1 ## Trino +Supported trino version 352 and higher + The [sqlalchemy-trino](https://pypi.org/project/sqlalchemy-trino/) library is the recommended way to connect to Trino through SQLAlchemy. The expected connection string is formatted as follows: @@ -15,3 +17,11 @@ The expected connection string is formatted as follows: ``` trino://{username}:{password}@{hostname}:{port}/{catalog} ``` +If you are running trino with docker on local machine please use the following connection URL + +``` +trino://trino@host.docker.internal:8080 +``` + +Reference: +[Trino-Superset-Podcast](https://trino.io/episodes/12.html)