[freetds] problem connecting to datasource defined in freetds.conf

James K. Lowden jklowden at freetds.org
Mon Mar 29 23:47:14 EDT 2010


Patrick Kaeding wrote:
> However, if I try to connect using the definition in my freetds.conf
> file, like this:
> 
>     % tsql -S Millie -U sa
> 
> after entering my password, it seems to be trying to generate a
> prompt, but it just keeps counting.  I will see `1`, followed by `2`,
> etc, without ever displaying a `>` character.
> 
> Here is what I have for my freetds.conf:
> 
>     [global]
>             # TDS protocol version
>             tds version = 8.0
>             text size = 64512
> 
>     [Millie]
>             host = 10.100.102.202
>             port = 1086

If you use TDSDUMP, does it say it's using TDS 8.0 when you fail to
connect?  If so, see what TDSDUMPCONFIG says.  

HTH.

--jkl




More information about the FreeTDS mailing list