Issue #2273835 by danylevskyi | lsolesen: Fix Mysql server gone away.