On Thursday 10 December 2009 11:35:31 adam wrote:
> Hello,
>
> I have changed my development.ini file to connect to a mysql database
> instead of using the devdata.db file. All this works ok but every now
> and again i get an error saying the database has gone away. If i
> refresh the page then everything works again.
>
> How can i capture this error and send it to the error page rather than
> saying the database has disappeared. Or how can i stop the database
> disappearing?

Search for mysql in this group - it's a problem with mysql & it's Python 
connector that closes connections after a certain timeout. This has been 
discussed here before, with possible solutions.

Diez

--

You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.


Reply via email to