FreeTDS_MsSQL>=2005 + setting Connection timeout

Forum related to MS SQL Server

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
rzsistemas
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 21.04.2013, 18:21

FreeTDS_MsSQL>=2005 + setting Connection timeout

Post by rzsistemas »

I using FreeTDS_MsSQL>=2005 to connect with msSQL 2012 , and Works fine, but i need setup a timeout for this connections, how can i do it ?
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

rzsistemas,

add "timeout=X" to the TZConnection.Properies.
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
rzsistemas
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 21.04.2013, 18:21

Post by rzsistemas »

before this post I try with this setting but don't work. I try timeout=2000 and time out=2000 but zeos try connect forever, I use Free DTS
Post Reply