Skip to Content.
Sympa Menu

freetds - RE: help: tsql cannot connect to db while isql can

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: ZIGLIO Frediano <Frediano.Ziglio AT vodafoneomnitel.it>
  • To: "'TDS Development Group'" <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: help: tsql cannot connect to db while isql can
  • Date: Fri, 13 Sep 2002 17:51:42 +0200


>
> Hello,
>
> I'm trying to get FreeTDS to talk to a Sybase 12.5 db, with no luck.
>
> I have freetds and the sybase open client both on the box, and running
> Sybase's isql works great:
> ./isql -SEMDEV125_SYB -Uuser -Ppass
> 1> (queries work fine here)
>
>
>
> However, I can't get tsql to work:
> ./tsql -SEMDEV125_SYB -Uuser -Ppass
> Msg 10018, Level 9, State 0, Server OpenClient, Line 0
> The connection was closed
> Msg 20014, Level 9, State 0, Server OpenClient, Line 0
> Login incorrect.
> There was a problem connecting to the server
>

I think tsql do not support this type of parameter...
Use ./tsql -S EMDEV125_SYB -U user -P pass

freddy77

=================================
"STRICTLY PERSONAL AND CONFIDENTIAL

This message may contain confidential and proprietary material for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient please contact
the sender and delete all copies.
The contents of this message that do not relate to the official business of
our company shall be understood as neither given nor endorsed by it."

=================================




Archive powered by MHonArc 2.6.24.

Top of Page