Hi, I have web2py application which talks with MYSQL and i have my db connection strings in db.py module. Sometime the web2py server is running without any issues, but mysql goes offline now and then. So, I am getting the ticket generated saying that *"Failure to connect, tried 5 times: Traceback (most recent call last): ".*
All I wanted to do is to check if this error comes out (that's mysql is not running) I need to redirect the user to something like 404/database error page. Can someone tell me where and how can I detect this database connectivity failure and show some meaningful error message. Thanks, Raj Chinna -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.