Skip to Content.
Sympa Menu

freetds - [freetds] Connection timeout problem on HP-UX

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Predrag Parmakovic <preparmakov AT yahoo.com>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] Connection timeout problem on HP-UX
  • Date: Tue, 27 Mar 2007 02:02:00 -0700 (PDT)

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




Archive powered by MHonArc 2.6.24.

Top of Page