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
from sqlalchemy import create_engine
engine = create_engine("cdata_informix:///?Server=10.0.1.2;Port=50000;User=admin;Password=admin;Database=test")
Format 2
from sqlalchemy import create_engine
engine = create_engine("cdata_informix://MyUser:MyPassword@MyServer:MyPort/MyDatabase")