1、定位到ODBC相关路径;
2、解压tar -zxvf unixODBC-2.3.0.tar.gz
3、源码安装(配置、编辑、安装)
cd unixODBC-2.3.0/
./configure
make
make install
4、配置odbc.iniaa数据源信息和odbcinst.ini驱动信息
cd/usr/local/etc/
5、编辑vim odbcinst.ini
[DM8 ODBC DRIVER]
Description = ODBC DRIVER FOR DM8
Driver = /dm8/bin/libdodbc.so
6、编辑vim odbc.ini
[DM8]
Description = DM ODBC DSN
Description = DM8 ODBC DRIVER
SERVER = localhost
UID = SYSDBA
PWD = Dameng123
TCP_PORT = 5236
7、测试ODBC连接
isql dm8 -v