16.10 - Validating the ODBC Installation - Teradata Tools and Utilities

Teradata Tools and Utilities for Apple OS X Installation Guide

prodname
Teradata Tools and Utilities
vrm_release
16.10
created_date
May 2017
category
Installation
featnum
B035-3129-086K
Refer to ODBC Driver for Teradata® User Guide (B035-2509) for detailed information on how to use ODBC.

The tdxodbc tool can be used to validate the installation of ODBC Driver for Teradata. It is located in the directory:

/Library/Application Support/Teradata/client/TTUversion/bin

  1. Export the ODBCINI environment variable.

    export ODBCINI='Library/Application Support/Teradata/client/odbc/odbc.ini'

  2. Run the command:

    tdxodbdc -c SQLDriverConnect -C "DRIVER={driverName};DBCName=databasename;UID=username;PWD=password;" -t

    where the following is true:
    • driverName – Name of the Driver currently installed. The driver name has the format "Teradata Database ODBC Driver XX.YY" where XX points to the Major version and YY points to the minor version. For example, if you have the ODBC 16.10 Driver installed. the driverName would be "Teradata Database ODBC Driver 16.10".
    • databasename – Name or IP address of the Teradata database
    • username – Database username
    • password – Database password
    If the ODBC Driver for Teradata is installed correctly, the tool displays information that it successfully connected to the database.