PowerExchange for Vertica User Guide for PowerCenter

PowerExchange for Vertica User Guide for PowerCenter

Configuring ODBC Data Sources on Linux

Configuring ODBC Data Sources on Linux

On Linux operating systems, update the
odbc.ini
file entries to configure an ODBC data source for each Vertica database that you want to access.
  1. Locate the
    odbc.ini
    file in the following directory:
    <Informatica Installation Directory>\ODBC7.1\odbc.ini
  2. In the
    odbc.ini
    file, add entries for all the Vertica databases that you want to connect to.
    The following section shows a sample Vertica entry in the
    odbc.ini
    file:
    [ODBC Data Sources] vertica_odbc=libverticaodbc.so [ODBC] InstallDir=/export/home/vertica/Informatica/9.6.1/ODBC7.1 Trace=0 TraceFile=/export/home/vertica/Informatica/9.6.1/odbctrace.out TraceDll=/export/home/vertica/Informatica/9.6.1/ODBC7.1/lib/DWtrc27.so [vertica_odbc] Description = Vmart Database Driver = /opt/vertica/lib64/libverticaodbc.so Database = <database_name> Servername = <server_name> UID= <user_ID> PWD= <password> Port = <port_number> ConnSettings= SSLKeyFile= SSLCertFile= Locale=UTF-8
  3. Set the ODBCINI environment variable to the path where the
    odbc.ini
    file is stored.

0 COMMENTS

We’d like to hear from you!