How to find list of ODBC drivers installed on Linux

[亡魂溺海] 提交于 2020-12-05 10:23:31

问题


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?


回答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




回答2:


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

odbcinst -j 



回答3:


cat /proc/modules | grep odbc

or

lsmod | grep odbc


来源:https://stackoverflow.com/questions/53575855/how-to-find-list-of-odbc-drivers-installed-on-linux

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!