/etc/odbcinst.ini:
[ODBC Drivers]
MYODBC = Installed
FreeTDS = Installed
[MYODBC]
Description = MyODBC for MySql
Driver = /usr/lib/odbc/libmyodbc.so
Setup = /usr/lib/odbc/libmyodbc.so
[MYODBC3]
Description = MyODBC3 for MySQL
Driver = /usr/lib/odbc/libmyodbc3.so
Setup = /usr/lib/odbc/libmyodbc3.so
[FreeTDS]
Description = FreeTDS iODBC Driver
Driver = /usr/lib/odbc/libtdsodbc.so
Setup = /usr/lib/odbc/libtdsodbc.so
connectionString="DRIVER=MYODBC3;SERVER=DataServer;PORT=3306;DATABASE=Instrument;UID=DBReader;PWD=password;"
阅读(765) | 评论(0) | 转发(0) |