Re: Connectivity problem from Linux to Sql Server 2000usingFreeTDS
"Murugesan, Prasanna Venkatesh" <[email protected]>
| Newsgroups | gmane.comp.db.tds.freetds |
|---|---|
| Message-ID | <89DC7750D3800B40A55BFE80091DD38105DD12C7@atl1ex8.corp.etradegrp.com> |
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: [email protected] [mailto:[email protected]] 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