Skip to Content.
Sympa Menu

freetds - [freetds] Re: please help about tsql command

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT axelero.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Re: please help about tsql command
  • Date: Fri, 23 Apr 2004 02:51:55 +0200


On Apr 23, 2004, at 2:13, luke wrote:

telnet 192.168.1.21 1433 in unix is ok
use tsql -S 192.168.1.21 -p 1433 -U sa -P xxxxx

-S expects the custom server name as set up in freetds.conf. The -p port option is useless in this case.

As the usage line says:
Usage: tsql [-S <server> | -H <hostname> -p <port>]

You could either use

tsql -S <server_entry_in_freetds_conf>
or
tsql -H <hostname> -p <port>

I think this is explained in the User Guide.

--
fds





Archive powered by MHonArc 2.6.24.

Top of Page