I am trying to access the website I have been working on but I get the error: ’ Error establishing a database connection". I have created many website using Local and haven’t ever experience this issue before. I read other forums and most suggest checking the wp-config files although I don’t know where I can access these on Local. Please advise.
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
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.
Local is only on version 7.2 right now. Is 7.4.1 your PHP version?
Are you running other developer applications simultaneously? Apps like MAMP, XAMPP, or Docker for example.
It looks like Local might be getting blocked by another application. You could try changing your router mode to see if that works. Preferences>Advanced>Router Mode>Localhost