Does setting "socket.setdefa ulttimeout" 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.setdefa ulttimeout" 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
for connections to the database? I'm getting database connection timeouts on
a local (same machine) connnection, and I've been setting
"socket.setdefa ulttimeout" 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
Comment