MySQLdb reconnect

Eloff eloff777 at yahoo.com
Wed Jun 22 17:15:02 EDT 2005


I don't beleive that it does. You can however call ping() on the
connection which should attempt an automatic reconnection.

See the docs for mysql_ping:

http://dev.mysql.com/doc/mysql/en/mysql-ping.html

I've never tested that, but I have a need for it also so let me know if
it works or not.

-Dan




More information about the Python-list mailing list