[freetds] Connection timeout problem on HP-UX
Predrag Parmakovic
preparmakov at yahoo.com
Tue Mar 27 04:02:00 EST 2007
Hello,
I use FreeTDS ODBC driver version 0.64 on HP-UX and I conclude that setting of connection timeout(SQL_ATTR_CONNECTION_TIMEOUT) by SQLSetConnectionAttr method don't work.
I set connection timeout on value 10 seconds and then interrupt network cabl to server on which is Sybase database. Then, I attempt to connect database and after about 76 seconds (!!!) I get message: "[unixODBC][FreeTDS][SQL Server]Server is unavailable or does not exist".
It is not OK, we should to get this message after 10 seconds!!!?!?
I run this test on windows (with FreeTDS ODBC driver version 0.63 and 0.64) and after 10 seconds I get message: "[FreeTDS][SQL Server]Server is unavailable or does not exist".
On windows it works fine!?
What is wrong with FreeTDS - HP-UX and connection timeout?
____________________________________________________________________________________
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
More information about the FreeTDS
mailing list