CData Python Connector for Informix

Build 24.0.9060

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

Set the following properties to connect to Informix:

  • Server: Set this to the name of the server running Informix.
  • Port: Set this to the port the Informix server is listening on.
  • Database: Set this to the name of the Informix database.
  • User: Set this to the username of a user allowed to access the database.
  • Password: Set this to the password of a user allowed to access the database.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060