Skip to Content.
Sympa Menu

freetds - RE: [freetds] Can connect with TDS, but not ODBC

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <LowdenJK AT bernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Can connect with TDS, but not ODBC
  • Date: Tue, 2 Mar 2004 14:39:15 -0500

> From: Casey Allen Shobe [mailto:cshobe AT osss.net]
> Sent: March 2, 2004 1:25 PM
> Starting log file for FreeTDS 0.62.1
> on 2004-03-02 13:15:06 with debug level 99.
> names for ISO-8859-1: ISO-8859-1
> names for UTF-8: UTF-8
> names for UCS-2LE: UCS-2LE
> names for UCS-2BE: UCS-2BE
> iconv to convert client-side data to the "ISO-8859-1" character set
> 13:15:06.089572 tds_iconv_info_init: converting
> "ISO-8859-1"->"UCS-2LE"
> 13:15:06.089652 tds_iconv_info_init: converting
> "ISO-8859-1"->"UCS-2LE"
> 13:15:06.089701 Connecting to 172.16.0.216 port 1433, TDS 8.0.
> 13:15:06.090066 tds_put_string converting 5 bytes of "bluto"
> 13:15:06.090118 tds_put_string wrote 10 bytes
> 13:15:06.090137 tds_put_string converting 2 bytes of "sa"
> 13:15:06.090171 tds_put_string wrote 4 bytes
> 13:15:06.090190 tds_put_string wrote 0 bytes
> 13:15:06.090208 tds_put_string converting 12 bytes of "172.16.0.216"
> 13:15:06.090229 tds_put_string wrote 24 bytes
> 13:15:06.090247 tds_put_string wrote 0 bytes
> 13:15:06.090264 tds_put_string converting 10 bytes of "us_english"
> 13:15:06.090285 tds_put_string wrote 20 bytes
> 13:15:06.090303 tds_put_string converting 10 bytes of "adreportdb"
> 13:15:06.090324 tds_put_string wrote 20 bytes
> 13:15:06.090388 tds_process_login_tokens()

Double checking: this is SQL Server 2000 and unixODBC 2.2.6 we're talking
about, right?

As you can see, you're connecting. I believe you're using the right
password.

Here's a trick: "export TDSVER=4.2", try again, and look at the TDSDUMP log.
You'll see your login packet, including your password (twice, IIRC). Is it
right? Do you get logged in?

Once we get you connected, we can double back and see exactly what's wrong.

> > Your odbc.ini looks OK to me. What's in odbcinst.ini?
>
> The ODBC-only section didn't mention it, so I didn't touch
> it.

Right. You're connecting, so that's not at issue.

HTH.

--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.
If you, as the intended recipient of this message, the purpose of which is to
inform and update our clients, prospects and consultants of developments
relating to our services and products, would not like to receive further
e-mail correspondence from the sender, please "reply" to the sender
indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New York,
NY 10105.






Archive powered by MHonArc 2.6.24.

Top of Page