[unixODBC-support] AdabasD with unixODBC

Nick Gorham nick.gorham at easysoft.com
Tue Mar 11 18:43:36 GMT 2008


Ray Ramsaroop wrote:

> Hello,
>
> I'm trying to configure AdabasD with unixODBC, PHP5
>
> odbcinst.ini:
> -------------------------
> [ODBC]
> TraceFile = /tmp/sql.log
> Trace = Yes
>
> [AdabasD]
> Description=AdabasD ODBC Driver
> Driver=/usr/lib/unixODBC/odbclib.so
>
> odbc.ini
> ----------------------------
> [GMARKT]
> Driver=AdabasD
> Serverdb=GMARKT
> Servernode=192.168.1.2
> SqlMode=ANSI
> IsolationLevel=Uncommited
> TraceFileName=gmarkt.pct
>
> testing with "isql -v GMARKT user pswrd" reslts [ISQL]ERROR: Could not 
> SQLConnect

Ok, first thing I would try is using strace to see where it got to, and 
if it loaded the lib.

First check the lib can be loaded.

dltest /usr/lib/unixODBC/odbclib.so SQLConnect

Then I would try is using strace to see where it got to.

strace isql -v dsn 2> sl

-- 
Nick Gorham
Easysoft Limited
http://www.easysoft.com, http://www.unixODBC.org




More information about the unixODBC-support mailing list