[unixODBC-support] Cannot connect to SolidDB data source (SQLConnect fails, but isql works!!)

Nick Gorham nick at lurcher.org
Tue May 26 12:55:27 BST 2009


Fadil S wrote:
> Hi all,
>
> I am currently developing a (tailored) database client for IBM
> SolidDB. My development environment is Fedora 10.
>
> I have installed unixODBC. I have setup both odbc.ini and odbcinst.ini
> (i'll copy paste them below).
>
> However, when I try to use SQLConnect, somehow it won't connect me to
> the specified DSN:
>
> ..some code..
> ...
>   
I would check to see what is different. Turn on tracing in odbcinst.ini

[ODBC]
Trace = Yes
TraceFile = /tmp/sql.log

And use strace to see where the two connects differ.

-- 
Nick


More information about the unixODBC-support mailing list