Skip to Content.
Sympa Menu

freetds - Re: [freetds] Re: RE: Bug in SQLNumResultCol function?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddyz77 AT tin.it>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Re: RE: Bug in SQLNumResultCol function?
  • Date: Sat, 12 Jun 2004 17:10:37 +0200

Il ven, 2004-06-11 alle 15:07, jun_chen AT bankone.com ha scritto:
> Thanks a lot, freddy77.
>
> I downloaded the unstable version 0.63 today. Which library file should I
> use
> in the odbcinst.ini? I tried almost all of them in the lib directory, such
> as libsybdb.so,
> libtdssrv.so, libtds.so, and libct.so.

???

odbcinst.ini contains informations about drivers installed and other
options.
My odbcinst.ini contains

[FreeTDS]
Description = FreeTDS
Driver =
/home/freddy/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so
Setup =
/home/freddy/cpp/freetds/freetds/src/odbc/.libs/libtdsodbc.so
FileUsage = 1
Trace = Yes
TraceFile = /tmp/sql.log

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


Note that odbcinst.ini do not contains entry for servers.


> When I tried to use the unixodbc command isql -v peregrine <username>
> <password>, it always got
> the error:
> [IM004][unixODBC][Driver Manager]Driver's SQLAllocHandle on
> SQL_HANDLE_HENV failed
> [ISQL]ERROR: Could not SQLConnect
>
> Jun
>

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page