Discussion:
[freetds] Databasefile(DBF) in connection-string? (Sql Anywhere 9, DSN-Less)
H.Meier
2013-01-17 17:56:24 UTC
Permalink
Hi,

im trying to connect to a Sybase SQLanywhere server 9, with .net/vs2010.
Im using a DSN-less odbc-connection, and its working if i connect to the default-db.

conn-string atm:
DRIVER=FreeTDS;SERVER=192.168.x.x;UID=User;PWD=pass;DATABASE=Test;TDS_Version=5.0;Port=2222;

But there are some other DB's in subfolders, and if i try to connect to them they couldn't be found.

I looked in the docu but havent found something, so how do i specify the file in the string so he starts and connect the db i want?

Thx
Frediano Ziglio
2013-01-19 12:26:07 UTC
Permalink
Post by H.Meier
Hi,
im trying to connect to a Sybase SQLanywhere server 9, with .net/vs2010.
Im using a DSN-less odbc-connection, and its working if i connect to the default-db.
DRIVER=FreeTDS;SERVER=192.168.x.x;UID=User;PWD=pass;DATABASE=Test;TDS_Version=5.0;Port=2222;
But there are some other DB's in subfolders, and if i try to connect to them they couldn't be found.
I looked in the docu but havent found something, so how do i specify the file in the string so he starts and connect the db i want?
Thx
Actually is not supported and neither planned but if it's like
Microsoft side it's quire easy to implement it. Could you just connect
with a .net application and do a network trace? It's better to setup a
new login as there could be sensitive information in the dump (you
could send the trace directly to me if you want)

Frediano

Loading...