CData Python Connector for Oracle Sales

Build 20.0.7745

Connecting

Connecting with a Dialect URL

A specific URL format is used to establish a connection using SQLAlchemy. For this connector, either of the following URL formats are acceptable when creating the engine:

Format 1


import sqlalchemy as orm
engine = orm.create_engine("oraclesalescloud:///?HostURL=https://my.host.oraclecloud.com; Username=abc123; Password=abcdef;")

Format 2


import sqlalchemy as orm
engine = orm.create_engine("oraclesalescloud://User:Password@/?URL=https://my.host.oraclecloud.com;")

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 20.0.7745