MySQL and error establishing database connection

Hi I got this error and I cannot see my website anymore:

Warning: mysqli_query(): MySQL server has gone away in /app/public/wp-includes/wp-db.php on line 2007 Warning: mysqli_query(): Error reading result set’s header in /app/public/wp-includes/wp-db.php on line 2007

Can anyone help me out with that, please?


1 Like

Hi @fede,

So sorry about this!

Can you please provide your local-by-flywheel.log file? See How do I retrieve Local's log file? for instructions on how to do so.

While you’re gathering the log, is this site using the Custom or Preferred environment?

am also facing the same problem
please how can i recover my site

1 Like

I’m having the same problem. Running custom. local-by-flywheel.log (150.3 KB)

1 Like

j’ai le même problème. L’erreur est arrivée sans modification particulières. J’ai compresser des photos avec autoptimize vendredi dernier. Ce lundi Rien ne fonctionne.
Helplocal-by-flywheel.log (149.2 KB)

1 Like