Thanks Tim, I'll give that a shot -Kyle Rickey -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, February 01, 2008 3:12 PM To: Python-Win32 List Subject: Re: [python-win32] odbc timeouts
Rickey, Kyle W wrote: > > Is it possible to change the default timeout for an odbc connection? > For instance: > > > > import odbc > > > > conn = odbc.odbc(DBNAME) > > > > It seems to timeout ~15 seconds. But the above method only takes 1 > argument. Is it possible to set a timeout in the connection string? > You can add "Connect Timeout=120;" to your connection string. -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32 _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32