[freetds] sqlanywhere: There was a problem connecting to the server
ZIGLIO, Frediano, VF-IT
Frediano.Ziglio at vodafone.com
Tue Oct 25 05:55:04 EDT 2005
>
> Hello,
>
> I've got problem to set up a connection between a sqlanywhere
> database (7.0). I've made the necessary entries in
> freetds.conf and odbc.ini. They look like this:
>
> freetds.conf:
> [s1]
> host = instr
> port = 2638
> tds version = 5.0
>
> odbc.ini:
> [s1]
> Driver = /usr/local/lib/libtdsodbc.so
> Description = Sybase Server
> Trace = No
> Servername = inst
> Database = db1
> Port = 2638
> TDS_Version = 5.0
>
> Now, when I try to connect with tsql, it does not seem to work:
> sdba at w02:~> tsql -S instr -H db1 -p 2638 -U dba
> locale is "C"
> locale charset is "ANSI_X3.4-1968"
> Password:
> There was a problem connecting to the server
>
> Unforunately like this I can't much figure out, what the
> problem is. tsql does not tell me, what's happening, what the
> problem is. Or is there a way?
>
> Thanks,
> Stephan
>
I think that
tsql -S s1 -U dba
is sufficient
freddy77
More information about the FreeTDS
mailing list