linux下informix的ODBC设置
环境变量
export ODBCINI=/etc/odbc.ini
export ODBCSYSINI=/etc
运行odbcinst -j
[informix@localhost project]$ odbcinst -j
unixODBC 2.2.1
DRIVERS............: /etc/odbcinst.ini
SYSTEM DATA SOURCES: /etc/odbc.ini
USER DATA SOURCES..: /etc
odbc.ini和odbcinst.ini都配置了,总是提示找不到数据源,请问有谁在linux下配置过informix的ODBC访问方式,运行总包如下错误
[informix@localhost project]$ isql Infdrv1 -v
[unixODBC][Driver Manager]Data source name not found, and no default driver specified
[ISQL]ERROR: Could not SQLConnect