Issue with Connecting to MS SQL

Oswin Dsa <[email protected]>
Newsgroups gmane.comp.db.tds.freetds
Message-ID <MA1PR01MB03731BC85CE3A57EB9C85509899E0@MA1PR01MB0373.INDPRD01.PROD.OUTLOOK.COM>
Hello,

I tried to make changes in DB connection string so that values are picked from FreeTDS.conf file as follows,

DB Connection string = Driver=/Applications/xxx.app/Contents/Frameworks/libtdsodbc.so;Servername=ABC;DATABASE=DB;uid=username;pwd=*****;Trusted_Connection=No;

FreeTDS.conf (/usr/local/etc) content :

[ABC]
Host = xxx.xx.xx.xx
Port  = 1433
tds version = 7.3
dump file =/tmp/freetds.log
debug flag = 0xffff
client charset = UTF-8

I changed the value of tds version(from 8.0 to 7.3.) after going through FreeTDS user guide .

Now the error has changed to ,
[01000] [FreeTDS][SQL Server]Unknown host machine name. (20013)
[08001] [FreeTDS][SQL Server]Unable to connect to data source (0)

The freetds.log is also not being generated. So I have no clue what's going wrong and where.

Could someone point me in the right direction ?

Regards,
Oswin



________________________________

http://www.mindtree.com/email/disclaimer.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.