# ODBC drivers
# Third-party ODBC drivers(free)
List some ODBC drivers and it's download link
UnixODBC drivers (opens new window)
# Third-party ODBC drivers(charged)
Easysoft ODBC Drivers (opens new window)
CData Software ODBC Drivers (opens new window)
Devart ODBC Drivers (opens new window)
# UnixODBC / iODBC install and setup
- Install UnixODBC / iODBC
yum install -y <unixodbc | iodbc>
yum install mysql-connector-odbc mariadb-connector-odbc pgodbc <ODBC driver package>
- Setup ODBC drivers
default path:/etc/odbcinst.ini
, the ODBC driver template as follow:
[DRIVER_NAME]
Description = description of the ODBC driver
Driver = path_to_odbc_driver_shared_object
Setup = path_to_driver_setup_shared_object
after that, You can list all installed ODBC drivers with: odbcinst -q -d
- Setup system data sources
default path:/etc/odbc.ini
, the data source template as follow
[my_datasource]
Driver = OOB
Description = description_of_data_source
ServerPort = myoobserver:8888
TargetDSN = mytargetdsn
LogonUser = server_username
LogonAuth = password_for_LogonUser
The most important is that the driver name in datasource should be same as the driver name in the file: odbcinst.ini
Setup file data sources
default path:/etc/ODBCDataSources
, the syntax same asSetup user data sources
default path:/home/auser/.odbc.ini
finaly, You can list user and system data sources with:
odbcinst -q -s