Error establishing a database connection with One Website in LOCAL

Issue Summary

My website will not launch, whether I use the Admin button or the open site button. Both say "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?
    This issue seems to only occur with one site in particular.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes, I am able to create a new plain WordPress site in Local and access it with my 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!

  • I really don’t have any steps, I don’t know what caused the issue with my site, only to say that my computer has crashed on some occasions with my site up, so the abrupt cutting off of the server and supporting software for the site, may have caused the problem.

System Details

  • Which version of Local is being used?
    6.1.8 + 5621 I just updated to this one in hopes it would help but no dice.

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

    • I am Using OSX Mojave 10.14.6

error.log (441.1 KB)
local-lightning.log (128.5 KB)

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.

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