freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Peter Harvey <pharvey AT codebydesign.com>
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] problems configuring..
- Date: Tue, 25 Feb 2003 06:17:47 -0800
-bash-2.05b# isql -v P450 cgiscript corv3tt31
[unixODBC][Driver Manager]Driver's SQLAllocHandle on SQL_HANDLE_HENV failed
[ISQL]ERROR: Could not SQLConnect
What could it be?
No obvious reason from what I can see. Here are some more things to try;
1 - Use a host name instead of an IP. I simply add a line to /etc/hosts when DSN would fail (such as in your case). Example line for /etc/hosts...
192.168.1.54 COSTLYSERVER
2 - I use "Servername" not "Server" but this may have changed since I last updated my FreeTDS source. So in my case the line in the ~/.odbc.ini file would look something like this;
Servername=COSTLYSERVER
Hope this helps!
Peter
-
Re: [freetds] problems configuring..
, (continued)
- Re: [freetds] problems configuring.., Frediano Ziglio, 02/24/2003
-
RE: [freetds] problems configuring..,
Russell Kroboth, 02/24/2003
- RE: [freetds] problems configuring.., Frediano Ziglio, 02/24/2003
- RE: [freetds] problems configuring.., Lowden, James K, 02/24/2003
- RE: [freetds] problems configuring.., Russell Kroboth, 02/24/2003
-
RE: [freetds] problems configuring..,
Russell Kroboth, 02/24/2003
- RE: [freetds] problems configuring.., Frediano Ziglio, 02/24/2003
-
Re: [freetds] problems configuring..,
Craig Davison, 02/24/2003
- Re: [freetds] problems configuring.., Peter Harvey, 02/24/2003
-
RE: [freetds] problems configuring..,
Russell Kroboth, 02/25/2003
- Re: [freetds] problems configuring.., Peter Harvey, 02/25/2003
- RE: [freetds] problems configuring.., Russell Kroboth, 02/25/2003
-
RE: [freetds] problems configuring..,
ZIGLIO Frediano, 02/25/2003
- Re: [freetds] problems configuring.., Peter Harvey, 02/25/2003
- RE: [freetds] problems configuring.., Russell Kroboth, 02/25/2003
- RE: [freetds] problems configuring.., Russell Kroboth, 02/25/2003
-
RE: [freetds] problems configuring..,
Russell Kroboth, 02/25/2003
- Re: [freetds] problems configuring.., Peter Harvey, 02/25/2003
- RE: [freetds] problems configuring.., Russell Kroboth, 02/25/2003
- RE: [freetds] problems configuring.., ZIGLIO Frediano, 02/25/2003
- RE: [freetds] problems configuring.., ZIGLIO Frediano, 02/25/2003
Archive powered by MHonArc 2.6.24.