CData Python Connector for EnterpriseDB

Build 25.0.9454

Establishing a Connection

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

  1. Import the module as follows:
    import cdata.enterprisedb 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("User=postgres;Password=admin;Database=postgres;Server=127.0.0.1;Port=5444")

Connecting to EnterpriseDB

The following connection properties are required in order to connect to data.

  • User: The user which will be used to authenticate with the EnterpriseDB server.
  • Password: The password which will be used to authenticate with the EnterpriseDB server.
  • Server: The host name or IP of the server hosting the EnterpriseDB database.
  • Port: The port of the server hosting the EnterpriseDB database.

You can also optionally set the following:

  • Database: The default database to connect to when connecting to the EnterpriseDB Server. If this is not set, the user's default database will be used.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9454