Minimum Migration Scenario - ODBC Driver for Teradata

ODBC Driver for Teradata User Guide

Product
ODBC Driver for Teradata
Release Number
15.10
Language
English (United States)
Last Update
2018-10-07
dita:id
B035-2526
lifecycle
previous
Product Category
Teradata Tools and Utilities

When ODBC is installed, a set of directories and symbolic links are set up to enable the existing ODBC user to operate with no operational impact, provided the installation uses the default installation directory.

When a non-default installation directory is used, the ODBC user must execute the script called enable_legacy_installdir to enable the existing odbc.ini and odbcinst.ini files to work with the new directory tree structure. The -b option specifies whether the existing ODBC InstallDir, the odbc.ini and odbcinst.ini are to be associated with a 32-bit or 64-bit ODBC Driver in the new directory tree structure.

enable_legacy_installdir
========================
Usage: 
./enable_legacy_installdir -i <user installdir> -b [32 64] -I <legacy installdir>
- 
 

Option

Description

-i 

user installdir

Specify the user install directory [default: /opt]

-I 

legacy installdir

Specify the legacy installation directory

-b 

[ 32 64 ]

Specify bitness of ODBC Driver

Example of a Minimum Migration Scenario

 # /opt/teradata/client/<TTU version>/odbc_32/bin/enable_legacy_installdir -b 32 -I /tmp/work/example/myodbc
 
 ADDING SYMBOLIC LINK:
 source: /tmp/work/example/myodbc
 target: /opt/teradata/client/.ODBC_32_PRE130_BRIDGE
 symbolic link trail:
 [1] +-> [/tmp/work/example/myodbc]
 [2] +-> [/opt/teradata/client/.ODBC_32_PRE130_BRIDGE: directory]