Table of Contents

Search

PowerExchange for PostgreSQL User Guide for PowerCenter

PowerExchange for PostgreSQL User Guide for PowerCenter

Configuring PostgreSQL ODBC Connection on Windows

Configuring PostgreSQL ODBC Connection on Windows

Before you establish an ODBC connection to connect to PostgreSQL on Windows, you must configure the ODBC connection.
Perform the following steps to configure an ODBC connection on Windows:
  1. Run the
    odbcad32.exe
    file.
    The
    ODBC Data Sources Administrator
    dialog box appears.
  2. Click
    System DSN
    .
    The following image shows the
    System DSN
    tab on the
    ODBC Data Sources Administrator
    dialog box:
    The image shows the system data sources.
  3. Click
    Add
    .
  4. On the
    Create New Data Source
    dialog box, select the PostgreSQL driver.
    The image shows the PostgreSQL driver for which you want to create the data source.
  5. On the
    ODBC PostgreSQL Wire Protocol Driver Setup
    dialog box, specify the following connection properties:
    Property
    Description
    Data Source Name
    Name of the data source.
    Description
    Description of the data source.
    Host Name
    Name of the PostgreSQL server.
    Port Number
    Port number of the PostgreSQL server.
    Database Name
    Name of the PostgreSQL database.
    The following image shows the connection properties configured for the ODBC connection:
    The configured ODBC connection settings.
  6. Click
    Test Connect
    to test the connection that you configured.
  7. On the
    Logon to PostgreSQL Wire Protocol
    dialog box, specify the credentials of your PostgreSQL database.
    The image shows the User Name and Password fields for the PostgreSQL database.
  8. Click
    OK
    .
    The PostgreSQL ODBC connection is configured successfully on Windows.
After you configure the PostgreSQL ODBC connection, you must create an ODBC connection to connect to PostgreSQL.

0 COMMENTS

We’d like to hear from you!