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

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Fri Oct 10 05:40:38 EDT 2008


> 
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3129 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20081010/ba4a7f0b/attachment.bin 


More information about the FreeTDS mailing list