Issue Summary
After updating to latest version to Local on a new computer (Mac M1 OSX 12) none of my sites are available and all showing the ’ Error establishing a database connection’ error. I am also unable to use Adminer. Downgrading to 6.1.8 did not solve the problem.
Troubleshooting Questions
This happens on ALL sites and Adminer
- 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 site and access a new test site.
Replication
Launched site, click on the Open Site button. Get error message about database connection (see above).
Click on the database tab in local and click the admirer link. Adminer opens and displays login link with ‘Connection refused’ error.
System Details
-
Which version of Local is being used?
6.1.8 But 6.3 just before -
What Operating System (OS) and OS version is being used?
OSX 12.2.1 M1 -
Attach the Local Log. See this Help Doc for instructions on how to do so:
See:
local-lightning.log (244.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.