CData Python Connector for Informix

Build 26.0.9655

Establishing a Connection

The objects available within our connector are accessible from the "cdata.informix" module. To use the module's objects directly:

  1. Import the module as follows:
    import cdata.informix as mod
  2. To establish a connection string, call the connect() method from the connector object using an appropriate connection string, such as:
    mod.connect("Server=10.0.1.2;Port=50000;User=admin;Password=admin;Database=test")

Connecting to Informix

To connect to Informix, set these properties:

  • AuthScheme: Specifies the type of user authentication to be performed at the server. There are two options:
    • USRIDPWD (default): Provides authentication via unencrypted user credentials (User and Password).
    • EUSRIDPWD: Provides authentication via encrypted user credentials.
  • Host: The IP address of the server running Informix.
  • Server: The name of the server running Informix.
  • Port: The port the Informix server is listening on.
  • Database: The name of the Informix database.
  • User: The authenticating user.
  • Password: The authenticating user's password.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655