[ATSDB]
Driver = SQLSERVER
Description = SQLSERVER
Server = 192.168.1.110
Database = atsdb
Port = 1433
[ATSDB] = SQLSERVER
Description = SQLSERVER
Server = SQLCNBJ015.corp.novocorp.net
Database = MDM_StagingDB
Port = 3888
注意Driver驱动要写odbcinst.ini中的驱动名称,Database是数据库的名称
保存并退出。
测试ODBC的连接
# bin/isql -v ATSDB autotest autotest Cd /usr/local/unixODBC/bin ./isql -v ATSDB SELASReader Only4SELAS SQL> SQL> quit
您可能感兴趣的文章: