Tom, I can monitor for the "(2006, 'MySQL server has gone away')" error with the try statement. Perhaps I can use that to restart the connection to the mysql server, as long as I know the command to use? This way you dont have to change the driver.
On Thursday, 1 June 2017 05:46:43 UTC-7, Tom Keffer wrote: That would require a rewrite of the MySQL driver. It also introduces a > problem: if the retries are tried in the driver, it will cause weewx to > block in the driver until the database server comes back online. So, the > retries would have to be limited to 60 seconds or so at the most. > > Let me think about this. > > Posted as issue #259 <https://github.com/weewx/weewx/issues/259>. > > -tk > > > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
