Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Python Programming Language

Does socket.setdefaulttimeout affect the timeouts in MySQLdb?


John Nagle wrote:
>     Does setting "socket.setdefaulttimeout" affect the timeout in MySQLdb
> for connections to the database?  I'm getting database connection timeouts on
> a local (same machine) connnection, and I've been setting
> "socket.setdefaulttimeout" to 15 seconds so web page opens don't hang.
> But MySQLdb uses the MySQL C library, which doesn't use Python opens.

So that would be a "no", then.

regards
  Steve
--
Steve Holden       +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb     http://del.icio.us/steve.holden
Recent Ramblings       http://holdenweb.blogspot.com

    Does setting "socket.setdefaulttimeout" affect the timeout in MySQLdb
for connections to the database?  I'm getting database connection timeouts on
a local (same machine) connnection, and I've been setting
"socket.setdefaulttimeout" to 15 seconds so web page opens don't hang.
But MySQLdb uses the MySQL C library, which doesn't use Python opens.

                                John Nagle

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc