MicroStrategy ONE

ODBC Driver for Vertica for Linux

The ODBC driver for Vertica is not a MicroStrategy-branded driver. The following steps show how to configure the ODBC driver for Vertica for Linux.

You must modify the odbc.ini file to create the DSN for Vertica.

The third-party product(s) discussed in the procedure below is manufactured by vendors independent of MicroStrategy. MicroStrategy makes no warranty, express, implied or otherwise, regarding this product, including its performance or reliability.

To Configure ODBC Driver for Vertica

Begin by installing the ODBC Driver for Vertica for the Linux operating system. For information on installation, refer to the product documentation provided by the database vendor.

The path to the installation location you choose for the ODBC driver is used later in this procedure as the value for the Driver parameter in the odbc.ini file.

The following set of instructions are divided into two sections: how to configure the environment and how to modify the odbc.ini file.

To Configure the Environment

  1. In a Linux console window, browse to HOME_PATH where HOME_PATH is the specified home directory during installation. Browse to the folder env.
  2. Add Write privileges to the ODBC.sh file by entering the following command:
    chmod u+w ODBC.sh
  3. Edit the ODBC.sh file and provide the location of the vertica.ini file. Within the ODBC.sh file, the following definition is included:

    VERTICAINI='<VERTICAINI_PATH>'

    Replace this <VERTICAINI_PATH> placeholder with the location of the vertica.ini file.

    Do not modify any other occurrences of <VERTICAINI_PATH> within odbc.sh.

  4. Save the ODBC.sh file and remove Write privileges from the file by entering the following command:

    chmod a-w ODBC.sh

To Modify the odbc.ini File

  1. In a Linux console window, browse to HOME_PATH where HOME_PATH is the specified home directory during installation.
  2. Open the odbc.ini.example file and search for the section that starts with [HP VERTICA].
  3. Open the MicroStrategy odbc.ini file.
  4. Copy and paste the contents from the odbc.ini.example file for your Vertica ODBC driver. You should paste the contents of the DSN exactly as they appear in the example file.
  5. Make the following changes to the copied sample file:

    • Modify the driver location to match the location of the installed Vertica ODBC Driver.
    • Change the database, server name, user name, password, and any other relevant parameters to match the information for your database. For information on the available parameters, refer to your third-party Vertica driver documentation. This can often be found along with the driver installation.

    Ensure that there is no white space between the equals sign (=) which separates the parameter and its value.

  6. Save the odbc.ini file.

This completes the steps to create a DSN and configure an ODBC driver for Vertica.