PCT-637: Query Analytics does not handle MySQL Restart

Done

However, I'm afraid that FileIntervalIter goroutine might access mysqlConn.Connect/Close/Set at the same time as the goroutine with check if mysql was restarted. @daniel-nichter What you think? Should I protect mysql.Connection with mutex?
>  *  current=60 prev=0 (is prev initialized before use?, in any case, let's say it is...)
>  *  Restart MySQL, connection problem for 120s
>  * current=120 prev=60 (restarted not detected)

Now I get which case you are describing - uptime after restart exceeds last recorded uptime. Kinda rare case but easy to fix.