Does socket.setdefaulttimeout affect the timeouts in MySQLdb?
Steve Holden
steve at holdenweb.com
Tue Apr 24 07:18:53 EDT 2007
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
More information about the Python-list
mailing list