dbTalk Databases Forums  

ODBC timeout

mailing.database.myodbc mailing.database.myodbc


Discuss ODBC timeout in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default ODBC timeout - 05-30-2006 , 03:19 PM






Hi,

Is there an option in the ODBC driver that keeps the connection active?
I am using WinSQL (http://synametrics.com) as the client tool and it
disconnects after a while from the server. I would like to know if there
is any setting in the driver that continuously sends some messages to
the server so that it won't kill the connection.

Thanx,
Imran.




--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default RE: ODBC timeout - 05-31-2006 , 11:18 PM






Assuming your using windows: go into the Data Sources (ODBC) manager, go to
the Connection Pooling tab, find the MyODBC driver, double-click on it.
Select "Pool connections to this driver" and then adjust your time for
unused connections as necessary. Be reasonable, however, as long connection
times may cause larger amounts of memory consumption, so increment it until
you find a suitable solution. Additionally, in the Connection Pooling tab,
you'll see a "Retry Wait Time" which is the number of seconds before your
system tries to reconnect to the database server (default is 120secs). Try
setting this to 60 and see if this helps.


Quote:
From: Imran Abizar <imranh (AT) itanetworks (DOT) com
To: myodbc (AT) lists (DOT) mysql.com
Subject: ODBC timeout
Date: Tue, 30 May 2006 16:18:23 -0400
MIME-Version: 1.0
Received: from lists.mysql.com ([213.136.52.31]) by
bay0-mc3-f14.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.1830); Tue,
30 May 2006 13:18:38 -0700
Received: (qmail 9742 invoked by uid 510); 30 May 2006 20:17:00 -0000
Received: (qmail 9720 invoked by uid 509); 30 May 2006 20:16:59 -0000
Received: pass (lists.mysql.com: local policy)
X-Message-Info: txF49lGdW4245i0Zogv6DwilBGFf7jHKIeMWeWQEGrk=
Mailing-List: contact myodbc-help (AT) lists (DOT) mysql.com; run by ezmlm
List-ID: <myodbc.mysql.com
Precedence: bulk
List-Help: <mailto:myodbc-help (AT) lists (DOT) mysql.com
List-Unsubscribe:
mailto:myodbc-unsubscribe-billywill31=hotmail.com (AT) lists (DOT) mysql.com
List-Post: <mailto:myodbc (AT) lists (DOT) mysql.com
List-Archive: http://lists.mysql.com/myodbc/10794
Delivered-To: mailing list myodbc (AT) lists (DOT) mysql.com
X-SMarshall: 287419
X-SMScore: -2500
User-Agent: Thunderbird 1.5.0.2 (Windows/20060308)
Return-Path: myodbc-return-10794-billywill31=hotmail.com (AT) lists (DOT) mysql.com
X-OriginalArrivalTime: 30 May 2006 20:18:39.0306 (UTC)
FILETIME=[3CF6AAA0:01C68426]

Hi,

Is there an option in the ODBC driver that keeps the connection active? I
am using WinSQL (http://synametrics.com) as the client tool and it
disconnects after a while from the server. I would like to know if there is
any setting in the driver that continuously sends some messages to the
server so that it won't kill the connection.

Thanx,
Imran.




--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe:
http://lists.mysql.com/myodbc?unsub=...mail (DOT) com



--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.