The idea behind this change is to send a ping every hour, which is shorter than the driver's 'dead connection' threshold of 8 hours. As a side effect, this also will fix a subset of the situations where the MySQL server is restarted.