[RESOLVED] "Error establishing a database connection"

Hello everyone

I finally found a simple solution that I had not found before:

  • Right click on the site name and click on “Reveal in Finder” in Local by Flywheel. Compress the folder containing all your site in a *.ZIP file (normally there must be at least the “app” and “logs” folder, sometimes “conf”).
  • In Local by Flywheel, import the site manually in FILE / IMPORT SITE, choose the Zip of your site
  • Normally, it reinstalls the site and recreates the Database … for me it’s work (on Windows and on Mac)

It’s crazy that it’s so simple and that it took me so long to find. Hoping that it can help!
I am very happy to be able to find my site, I will finally be able to put it on line.

Bye

4 Likes