freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
- From: "Lowden, James K" <LowdenJK AT bernstein.com>
- To: "'freetds AT lists.ibiblio.org'" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
- Date: Mon, 16 Dec 2002 15:11:45 -0500
> From: ZIGLIO Frediano [mailto:Frediano.Ziglio AT vodafoneomnitel.it]
> Sent: December 16, 2002 6:08 AM
>
> > I'd like to use the freetds libraries with iODBC to connect
> > to a remote SQL Server (v6.5). Is that possible?
>
> > here is my odbc.ini
> > ------------------------------
> > [ODBC Data Sources]
> > SBS = SQL Server
> >
> > [ODBC]
> > Debugfile=/tmp/odbc.out
> >
> > [SBS]
> > Description = SQL Server
> > UID = xxxxxxx
> > PWD = xxxxxxxx
> > TDSHOST = 12.178.18.4
> > TDSPORT = 1433
> > TDSVER = 4.2
> > Driver = /usr/local/lib/libtdsodbc.so
> > Database = BSRes2
> > ServerName = SBS
> >
>
> TDSHOST, TDSPORT and TDSVER should be environment string...
> nothing to do
> with odbc.ini!
> PWD should not go to odbc.ini...
> SBS should be in freetds.conf
There is a PWD line in samples/odbc.ini. Is it not used?
Chris, you should have this in your freetds.conf:
[SBS]
host = 12.178.18.4
port = 1433
tds version = 4.2
I recommend you indicate your host by name, for sanity's sake. FreeTDS
won't mind, though, either way.
--jkl
The information contained in this transmission may contain privileged and
confidential information and is intended only for the use of the person(s)
named above. If you are not the intended recipient, or an employee or agent
responsible for delivering this message to the intended recipient, any
review, dissemination, distribution or duplication of this communication is
strictly prohibited. If you are not the intended recipient, please contact
the sender immediately by reply e-mail and destroy all copies of the
original message. Please note that we do not accept account orders and/or
instructions by e-mail, and therefore will not be responsible for carrying
out such orders and/or instructions.
-
[freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so,
Chris McDaniel, 12/14/2002
- <Possible follow-up(s)>
- RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, ZIGLIO Frediano, 12/16/2002
-
RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so,
Lowden, James K, 12/16/2002
- RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, Frediano Ziglio, 12/16/2002
-
RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so,
Chris McDaniel, 12/18/2002
- Re: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, James K. Lowden, 12/18/2002
- [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, web-guy01, 12/18/2002
-
RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so,
Chris McDaniel, 12/18/2002
- Re: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, Martin Spott, 12/18/2002
- RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, Chris McDaniel, 12/18/2002
- RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, Chris McDaniel, 12/18/2002
-
[freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so,
Patrick van Kleef, 12/18/2002
- Re: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, Martin Spott, 12/18/2002
Archive powered by MHonArc 2.6.24.