Skip to Content.
Sympa Menu

freetds - Re: [freetds] cannot connect with tsql

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Franck Y" <franck110 AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] cannot connect with tsql
  • Date: Tue, 6 Jan 2009 18:04:02 -0500

Add this at the start of you command export TS_Version=8.0

On Tue, Jan 6, 2009 at 4:39 PM, Kevin Reed <theeswashbuckler AT gmail.com>wrote:

> Hello everyone, i am having dificulty connecting with tsql to test if
> i can connect to a SQL server.
> I installed the most recent stable of freetds.
> i can ping and telnet into the server on the proper port.
> well the telnet connection gives me:
>
> Trying [IP address removed}...
> Connected to [IP address removed].
> Escape character is '^]'.
> Connection closed by foreign host.
>
> so the server is there and up.
>
> but my tsql line:
>
> tsql -H [ip address] -p 5000 -U uname -P password
>
> returns:
> ocale is "en_CA.UTF-8"
> locale charset is "UTF-8"
> Msg 20017, Level 9, State -1, Server OpenClient, Line -1
> Unexpected EOF from the server
> Msg 20002, Level 9, State -1, Server OpenClient, Line -1
> Adaptive Server connection failed
> There was a problem connecting to the server
>
>
> is this a security problem on the SQL server side or something
> problematic with my freetds instal or something i haven't even thought
> of, i cannot find any information on this error online.
> thanks
> -kevin
> _______________________________________________
> FreeTDS mailing list
> FreeTDS AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
>



--
Franck




Archive powered by MHonArc 2.6.24.

Top of Page