Adding entries to the odbcinst.ini file
- Last Updated: November 5, 2020
- 2 minute read
- DataDirect Connectors
- ODBC
- Documentation
Connections to a data source can be made via a connection string without referring to a data source name (DSN-less connections). This is accomplished by specifying the "DRIVER=" instead of the "DSN=" keyword in a connection string as outlined in the ODBC specification. For this to work on UNIX and Linux, a file called odbcinst.ini must exist when the driver encounters DRIVER= in a connection string.
For complete details about the odbcinst.ini file, refer to the chapter "Configuring the product on UNIX/Linux" in the user’s guide for your driver.
By default, the Progress DataDirect product Setup installs a sample odbcinst.ini file in the same location, install_directory, as the sample odbc.ini file (see "Adding entries to odbc.ini file" for an explanation of the odbc.ini file). Your installation program must create or modify a similar odbcinst.ini file for you to be able to make DSN-less connections and/or use the Linux ODBC Administrator.
Use the following procedure: