Installing and setting up the driver (UNIX/Linux)
Print
- Last Updated: January 15, 2025
- 3 minute read
- DataDirect Connectors
- ODBC
- Oracle Database Wire Protocol 8.0
- Documentation
This section provides you with an overview of the steps required to install and set-up the driver. After completing this procedure, you will be able to begin accessing data with your application.
To begin accessing data with the driver:
-
Install the driver:
- After downloading the product, extract the contents of the product file.
-
From the installer directory, run the
installer's binary file to start the installer. The file for the installer
program takes the following form:
PROGRESS_DATADIRECT_ODBC_nn_platform_xx_INSTALL.bin
- Follow the prompts to complete installation.
The installer program supports multiple installation methods, including command-line and silent installations. For detailed instructions, refer to the Progress DataDirect for ODBC Drivers Installation Guide.
-
Configure the environment variables:
- Check your permissions. You must log in as a user with full r/w/x permissions recursively on the entire product installation directory.
-
Run one of the following product setup
scripts from the installation directory to set variables: odbc.sh or odbc.csh. For Korn, Bourne, and equivalent shells, execute
odbc.sh. For a C shell, execute
odbc.csh. Executing the setup script:
- Sets the ODBCINI environment variable to point to the path from the root directory to the system information file where your data source resides. For details, see "ODBCINI."
-
Configure the driver using one of the following
methods:
- odbc.ini file: You can begin using the
driver immediately by editing the odbc.ini file in
the installation directory with a text editor. The following demonstrates a data source
definition with the minimal options used to authenticate using user ID and password
(Encrypt Password) authentication.
[ODBC Data Sources] Oracle Wire Protocol=DataDirect 8.0 Oracle Wire Protocol[Oracle Wire Protocol] Driver=<install_dir>/lib/xxora28.yy ... Description=My Oracle Wire Protocol Data Source ... HostName=YourOracleServer ... LogonID=JohnD ... Password=secret ... PortNumber=1521 ... ServiceName=sales.us.acme.com ...See Configuring a data source in the system information file for more information.Note: The LogonID and Password options are not required to be stored in the data source. They can also be sent separately by the application using the SQLConnect ODBC API. For SQLDriverConnect and SQLBrowseConnect, they will need to be specified in the data source or connection string. - Connection string: The driver also supports using connection strings for DSN (data source name), File DSN, or DSN-less connections. See Using a connection string, and DSN-less connections, for more information. For examples of connection strings using different authentication methods, see Authentication .
Note: For most connections, specifying the minimum required connection options is sufficient to begin accessing data; however, you can provide values for optional connection options to use additional supported features and improve performance. - odbc.ini file: You can begin using the
driver immediately by editing the odbc.ini file in
the installation directory with a text editor. The following demonstrates a data source
definition with the minimal options used to authenticate using user ID and password
(Encrypt Password) authentication.
-
Set the values for any additional options that you
want to configure. For additional information on optional features and
functionality, see the following resources:
- Connection option descriptions provides a complete list of supported options by functionality.
- Performance Considerations describes connection options that affect performance, along with recommended settings.
-
Connect to your server and begin accessing data with your
applications, BI tools, database tools, and more. To help you get started, the
following resources guide you through accessing data with some common tools:
- Example Application: The example application is a command-line tool that allows you to test connect, execute SQL statements, and practice using the ODBC API in environments that do not support GUIs.
This completes the deployment of the driver.