This repository was archived by the owner on Apr 17, 2018. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork 73
SQL Server
myabc edited this page Apr 10, 2011 · 2 revisions
[IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified remove ~/.odbc.ini remove ~/.odbcinst.ini
[alexbcoles@mondiale ~]$ odbcinst -j unixODBC 2.2.14 DRIVERS............: /usr/local/Cellar/unixodbc/2.2.14/etc/odbcinst.ini SYSTEM DATA SOURCES: /usr/local/Cellar/unixodbc/2.2.14/etc/odbc.ini FILE DATA SOURCES..: /usr/local/Cellar/unixodbc/2.2.14/etc/ODBCDataSources USER DATA SOURCES..: /usr/local/etc/odbc.ini SQLULEN Size.......: 4 SQLLEN Size........: 4 SQLSETPOSIROW Size.: 2 sudo rm /usr/local/Cellar/unixodbc/2.2.14/etc/odbcinst.ini sudo rm /usr/local/Cellar/unixodbc/2.2.14/etc/odbc.ini sudo ln -s /usr/local/etc/odbcinst.ini /usr/local/Cellar/unixodbc/2.2.14/etc/odbcinst.ini sudo ln -s /usr/local/etc/odbc.ini /usr/local/Cellar/unixodbc/2.2.14/etc/odbc.ini