[freetds] Re: please help about tsql command

Daniel Fazekas fdsubs at axelero.hu
Thu Apr 22 20:51:55 EDT 2004

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

> telnet 1433   in unix  is ok
> use tsql -S -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>
tsql -H <hostname> -p <port>

I think this is explained in the User Guide.


More information about the FreeTDS mailing list