[freetds] How to make a connection without freetds.conf
Alexandre Gazola
alexandregazola at yahoo.com.br
Fri Jul 13 15:56:11 EDT 2007
Hello,
I managed to make connections using freetds. My freetds.conf file has the following servername:
[Entry1]
host = forte
port = 1695
tds version = 7.0
And my connection String is the following:
"FreeTDS;Entry1;my_user;123;MY_DATABASE"
It works perfectly this way. Now, I want to be able to make a connection without using the freetds.conf file.
I checked the DNS-less section of the user guide on the site, and changed my connection string to the following:
"DRIVER=FreeTDS;SERVER=forte;UID=teste;PWD=teste;DATABASE=GAZOLA_UNBA_R;TDS_Version=7.0;Port=1695;"
but that DIDN´T WORK.
How can I make a connection, without having to use a freetds.conf file?
Thank you a lot!
____________________________________________________________________________________
Novo Yahoo! Cadê? - Experimente uma nova busca.
http://yahoo.com.br/oqueeuganhocomisso
More information about the FreeTDS
mailing list