Local by Flywheel crashed and now .. Error establishing a database connection

Issue Summary

I have had a working installation of a WordPress website, due some un-known reason ‘Local’ Crashed and now I am unable to access this Website - the only Local site which was running at the time of Crash.
I tried and found that MySQL is not available - Adminer fails to connect and throws an exception

Error establishing a database connection

One or two sentence summary of the issue.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    No, only the local website which was running at that point in time.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?


Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!
Just can’t provide any as the system crashed and it started happening like it’s - This is the 2nd Instance I have come across this issue since last about One (1) week

System Details

  • Which version of Local is being used?

  • What Operating System (OS) and OS version is being used?

    • Windows 10 Homel_21H2
  • Attach the Local Log. See this Help Doc for instructions on how to do so:

Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

Hi @tanmalik786! Do you have any antivirus, security, or firewall applications that could be blocking Local? It looks like from the log it might be having trouble connecting.

More details about troubleshooting this here: Router Mode

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.