ODBC Driver for Greenplum

Build 21.0.7930

macOS DSN Configuration

This section shows how to set up ODBC connectivity and configure DSNs on macOS.

Minimum macOS Version

The CData ODBC Driver for Greenplum driver requires macOS Sierra (10.12) or above.

Licensing the Driver

In a terminal, run the following commands to license the driver. To activate a trial, omit the <key> input.

cd "/Applications/CData ODBC Driver for Greenplum/bin"
sudo ./install-license <key>

You'll be prompted for a name and password. These refer to your name and your machine's password.

Connecting to Greenplum

To connect to Greenplum, set the Server, Port (the default port is 5432), and Database connection properties and set the User and Password you wish to use to authenticate to the server. If the Database property is not specified, the driver connects to the user's default database (it will be the same name as the user).

The CData ODBC Driver for Greenplum supports the md5, password, Kerberos and SASL (particulary, SCRAM-SHA-256) authentication methods.

The specific authentication method is setup in the pg_hba.conf file on the Greenplum Server. You may find instructions about authentication setup on the Greenplum Server here. The md5, password and SASL authentication methods do not require additional setup by the CData ODBC Driver for Greenplum.

Authenticating with Kerberos

The authentication with Kerberos is initiated by Greenplum Server when the CData ODBC Driver for Greenplum is trying to connect to it. You should setup Kerberos on the Greenplum Server to activate this authentication method. Once you have Kerberos authentication setup on the Greenplum Server, see Using Kerberos for details on how to authenticate with Kerberos by the driver.

Uninstalling the Driver

The easiest way to uninstall the driver is to open a terminal and run the included uninstall.sh script, located in the installation directory. For example:

cd "/Applications/CData ODBC Driver for Greenplum"
sudo ./uninstall.sh

Note: The script needs to be run from the installation directory.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930