[Twisted-Python] "MySQL has gone away"

Arnar Birgisson arnarbi at gmail.com
Thu Jul 26 07:54:19 EDT 2007


On 7/26/07, Aleksey Kishkin <aleksey.kishkin at gmail.com> wrote:
> Actually usually it means mysql server died. it's certainly not twisted
> question, but first of all you need to check mysql logs.

No, it just means Mysql dropped your connection. By default, MySQL is
configured to drop conncetions after a period of inactivity (600
seconds I think). Your client either needs to detect this condition
and reconnect, or you can increase the timeout.

Arnar




More information about the Twisted-Python mailing list