0
Answered

Docker / MariaDB problem - Database error: SQLSTATE[HY000] [2006] MySQL server has gone away

1471 9 months ago updated by Vlad R 9 months ago 1

Hey,

Looking for a bit of help. I've been using FileRun for quite a while without any major problems, however recently I've been getting the error and can't access the site:

Database error: SQLSTATE[HY000] [2006] MySQL server has gone away

If I restore FileRun and MariaDB from a backup it works fine again, however after a few days I get the same error message.


I'm running the latest version of Docker and a seperate container with MariaDB, accesses via a local IP address - 192.168.1.XXX.

Looking at the documentation HERE theres a sections that covers a similar "MySQL: SQLSTATE[HY000] [2002]" error. But not the same, or relating to running FileRun in docker.

Answer

Answer
Answered

A restart on the MySQL server should be enough. No need for a full backup restore.

You should look into what makes the MySQL server stop working for you.

Answer
Answered

A restart on the MySQL server should be enough. No need for a full backup restore.

You should look into what makes the MySQL server stop working for you.