Teruhiro Komaki's Blog (Temporary)

macOSのodbc.iniの場所

自分用のメモ。

ODBCで設定した情報を 取り除く しても、削除することができなかったので odbc.ini を直接編集した。

odbc

パスは以下の通り。

1/Library/ODBC/odbc.ini
1(ins) teruhiro@MacBook-Pro-13:~ $ cd /Library/ODBC/
2(ins) teruhiro@MacBook-Pro-13:/Library/ODBC $ cat odbc.ini
3[ODBC Data Sources]
4name = Actual Open Source Databases
5
6[name]
7Driver   = /Library/ODBC/Actual Open Source Databases.bundle/Contents/MacOS/atopnsrc.so
8Server   = test.com
9Database = database
 1(ins) teruhiro@MacBook-Pro-13:/Library/ODBC $ cat odbcinst.ini
 2[ODBC Drivers]
 3Actual Access                 = Installed
 4Actual Open Source Databases  = Installed
 5Actual Oracle                 = Installed
 6Actual SQL Server             = Installed
 7MySQL ODBC 8.0 Unicode Driver = Installed
 8MySQL ODBC 8.0 ANSI Driver    = Installed
 9
10[Actual Access]
11Driver = /Library/ODBC/Actual Access.bundle/Contents/MacOS/ataccess.so
12Setup  =
13
14[Actual Open Source Databases]
15Driver     = /Library/ODBC/Actual Open Source Databases.bundle/Contents/MacOS/atopnsrc.so
16Setup      =
17LicenseKey = hogehoge
18
19[Actual Oracle]
20Driver = /Library/ODBC/Actual Oracle.bundle/Contents/MacOS/atoradb.so
21Setup  =
22
23[Actual SQL Server]
24Driver = /Library/ODBC/Actual SQL Server.bundle/Contents/MacOS/atsqlsrv.so
25Setup  =
26
27[MySQL ODBC 8.0 Unicode Driver]
28Driver = /usr/local/mysql-connector-odbc-8.0.25-macos11-x86-64bit/lib/libmyodbc8w.so
29
30[MySQL ODBC 8.0 ANSI Driver]
31Driver = /usr/local/mysql-connector-odbc-8.0.25-macos11-x86-64bit/lib/libmyodbc8a.so
comments powered by Disqus