添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

isql connection error

Robeen Nov 23 2018 — edited Dec 5 2018

Red Hat Enterprise Linux 7.4

Hi,

whenever I am connecting to isqlplus, I am getting error shown below

$ isql -v MongoDBODBC

[08S01][unixODBC][MySQL][ODBC 1.2(w) Driver]Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)

[ISQL]ERROR: Could not SQLConnect

odbc.ini file:

[MongoDBODBC]

Description=ODBC for MongoDB BI Connector

Driver=/usr/local/lib/libmdbodbcw.so

Trace=Off

TraceFile=stderr

ReadOnly=yes

SERVER=RH-DATWHSE-DEV2.mtg.local

PORT=27020

USER=root

PASSWORD=*****

DATABASE=cd2

Please advise.

Thanks,

Joe