How to find list of ODBC drivers installed on Linux

28,820

Solution 1

Thanks for the answers but I found out that list of installed ODBC drivers on Linux can be found on

/etc/odbcinst.ini and /home/{userName}/.odbcinst.ini which is very similar to macOS

Solution 2

below command works for me in Unix. It shows all the odbcinst.ini files

odbcinst -j 

Solution 3

cat /proc/modules | grep odbc

or

lsmod | grep odbc
Share:
28,820
user306080
Author by

user306080

Updated on July 09, 2022

Comments

  • user306080
    user306080 almost 2 years

    Good day all.

    On Windows, the list of installed ODBC drivers located here: HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers

    On macOS, the list of installed ODBC drivers located here: /Library/ODBC/odbcinst.ini and /Users/{userName}/ODBC/odbcinst.ini

    The questions is: where could I find list of ODBC drivers installed in Linux?