[PyQt] Database not showing error
anilet at gmail.com
Sat Feb 14 13:05:35 GMT 2009
I have few widgets loading its data from a MySQL database.
I create a database connection at the start.
If I leave the application open overnight the connection drops out.
How can I detect if the database connection is still active?.
logger.debug("DB is valid")
always return valid after the startup, even if network connection is droped.
All the queries return invalid but no exception occurs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt