freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
- From: "James K. Lowden" <jklowden AT schemamania.org>
- To: freetds AT lists.ibiblio.org
- Subject: Re: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so
- Date: Wed, 18 Dec 2002 08:59:23 -0500
On Wed, 18 Dec 2002 01:50:30 -0700, "Chris McDaniel"
<Chris.McDaniel AT telus.com> wrote:
>
> freddy77 - you mentioned posting log code - I'm vew to freetds, so
> indulge my ignorant question - how do I enable/find log code?
Frediano refers to setting the TDSDUMP environment variable to a file
name. Your whole FreeTDS session will be written to the log. See the
User Guide ("Logging") for details.
Your freetds.conf, below, indicates a dump (log) file "/tmp/freetds.log".
That's the same thing. Mind, you're writing session passwords to a
world-readable directory.
> Last question, yet another ignorant one I think -
> Can I call shared procedures in the SQL Server using freetds as the
> driver?
"Stored procedures", I think you mean. Yes. What's called "dynamic SQL"
-- using placeholders to pass parameters -- is quite rough right now, but
calling stored procedures the usual way (execute procname
@param1='value1', @param2='value2') works fine.
> I'm adding my new ini/conf files below, based on your comments and a
> review of the docs.
Are you connecting, then?
Regards,
--jkl
> ------------------------------
> odbc.ini
> ------------------------------
> ;
> ; odbc.ini
> ;
> [ODBC Data Sources]
> ODBC = Sybase JDBC Server
>
> [ODBC]
> Driver = /usr/local/lib/libtdsodbc.so
> Description = ODBC Server
> Trace = Yes
> Servername = SBS
> Database = BSRes2
> UID = xxxxxx
>
> [Default]
> Driver = /usr/local/lib/libtdsodbc.so
>
> ------------------------------
> freetds.conf
> ------------------------------
> [global]
> tds version = 4.2
> initial block size = 512
> swap broken dates = no
> swap broken money = no
> try server login = yes
> try domain login = no
> dump file = /tmp/freetds.log
> debug level = 10
>
> [SBS]
> host = 12.176.16.4
> port = 1433
> tds version = 4.2
> ------------------------------------------------------
-
[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
- Re: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, web-guy01, 12/18/2002
- RE: [freetds] Driver's SQLAllocEnv() failed - libtdsodbc.so, Lowden, James K, 12/18/2002
Archive powered by MHonArc 2.6.24.