Решения
MySQL server has gone away