freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
Re: [freetds] Problems Connecting Debian --> MSSQL through odbc
- From: jklowden AT schemamania.org
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] Problems Connecting Debian --> MSSQL through odbc
- Date: Thu, 16 Jul 2009 10:40:41 -0400
On Thu, Jul 16, 2009 at 04:03:23PM +0200, Jaap van Arragon wrote:
> SERVER:~# awk -W version
> mawk 1.3.3 Nov 1996, Copyright (C) Michael D. Brennan
>
> compiled limits:
> max NF 32767
> sprintf buffer 1020
>
> What can I do? Everything seems to be right but it and working....;-(
Hi Jaap,
Well, from my perspective there are two problems: A) osql is broken (because
mawk is), and B) your ODBC setup isn't working.
Regarding (B), let's follow Frediano's suggestion:
$ TDSDUMPCONFIG=stderr TDSDUMP=stderr \
isql -v svr usr pwd
Let's see what that reports. I still think your DM is reading an odbc.ini
other than the one you're modifying.
Regarding (A), let's try Steve's suggestion. In the osql script, find the
only line that uses awk with that form of regular expression:
awk -F '[[:space:]]*=[[:space:]]*' '{print $2}')
replace it with
awk -F '=' '{print $2}' | sed 's/[[:space:]][[:space:]]*//g')
I committed revision 1.11 with that change. You can download it from CVS.
One of those two things should tell us something.
Regards,
--jkl
-
Re: [freetds] Problems Connecting Debian --> MSSQL through odbc
, (continued)
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Frediano Ziglio, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Frediano Ziglio, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Frediano Ziglio, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, jklowden, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Steve Langasek, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, James K. Lowden, 07/15/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, jklowden, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Daniel Fazekas, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Frediano Ziglio, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Frediano Ziglio, 07/16/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/17/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Frediano Ziglio, 07/17/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/17/2009
- Re: [freetds] Problems Connecting Debian --> MSSQL through odbc, Jaap van Arragon, 07/17/2009
Archive powered by MHonArc 2.6.24.