Skip to Content.
Sympa Menu

freetds - Re: [freetds] Connectivity problem from Linux to Sql Server 2000usingFreeTDS

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Murugesan, Prasanna Venkatesh" <prasannavenkatesh.murugesan AT etrade.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] Connectivity problem from Linux to Sql Server 2000usingFreeTDS
  • Date: Fri, 10 Oct 2008 06:27:41 -0400


TDSVER=8.0 tsql -H10.182.92.68 -p3531 -Uibia_ir -Pxxx

I ran like this from the prompt , but i am still getting the same error

locale is "C"
locale charset is "ANSI_X3.4-1968"
Msg 18456, Level 14, State 1, Server , Line 0
Login failed for user 'ibia_ir'.
Msg 20014, Level 9, State 0, Server OpenClient, Line 0
Login incorrect.
There was a problem connecting to the server


Do i need to install the Version 8.0?

Thanks,
Prasanna

-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of ZIGLIO,
Frediano, VF-IT
Sent: Friday, October 10, 2008 3:11 PM
To: FreeTDS Development Group
Subject: Re: [freetds] Connectivity problem from Linux to Sql Server
2000usingFreeTDS

>
> Hi ,
>
> We are trying to connect to SqlServer 2000 from Linux using the
> FreeTds , My tds version is
>
> Compile-time settings (established with the "configure" script):
> Version: freetds v0.64
> MS db-lib source compatibility: no
> Sybase binary compatibility: unknown
> Thread safety: yes
> iconv library: yes
> TDS version: 5.0
> iODBC: no
> unixodbc: no
>
> When i try to connect using "tsql -H10.182.92.68 -p3531 -Uibia_ir
> -P[password]" I am getting the following error
>
> locale is "C"
> locale charset is "ANSI_X3.4-1968"
> Msg 18456, Level 14, State 1, Server , Line 0 Login failed for user
> 'ibia_ir'.
> Msg 20014, Level 9, State 0, Server OpenClient, Line 0 Login
> incorrect.
> There was a problem connecting to the server
>
> I am able to connect to the sqlserver using the same username and
> password from "SQL Query Analyser" and I am also able to do connect to

> this server from Linux using "telnet"
>
> Please help me to solve this issue.
>
> Thanks,
> Prasanna
> P.S : I did see the same problem in the list , but the solution does
> not suits me

You need to override default TDS version, 8.0 for mssql, try

TDSVER=8.0 tsql -H10.182.92.68 -p3531 -Uibia_ir -P[password]

freddy77




Archive powered by MHonArc 2.6.24.

Top of Page