ODBC Driver for Presto

Build 22.0.8462

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 Presto 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 Presto/bin"
sudo ./install-license.sh <key>

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

Connecting to Presto

Set the Server and Port connection properties to connect, in addition to any authentication properties that may be required.

Securing Presto Connections

To enable TLS/SSL in the driver, set UseSSL to true.

Authenticating to Presto

Presto may be authenticated to by either LDAP or Kerberos. If the Presto server does not have authentication set up, leave AuthScheme set to NONE (default). In order to authenticate with either LDAP or Kerberos, follow the below steps:

LDAP

In order to authenticate with LDAP, set the following connection properties:

  • AuthScheme: Set this to LDAP.
  • User: The username being authenticated with in LDAP.
  • Password: The password associated with the User you are authenticating against LDAP with.

Kerberos

Please see Using Kerberos for details on how to authenticate with Kerberos.

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 Presto"
sudo ./uninstall.sh

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

Copyright (c) 2023 CData Software, Inc. - All rights reserved.
Build 22.0.8462