unable to connect trino coordinator url
cd1986 opened this issue · comments
cd1986 commented
Found the solution:
with prestodb.dbapi.connect(
host='host.namel',
port=443,
user='myuser',
catalog='catalog',
schema='schema',
http_scheme='https'
) as conn:
conn._http_session.verify = '/path/to/cert.pem'
cur = conn.cursor()
cur.execute(sql_str)
Originally posted by @trabbani in #87 (comment)