-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error establishing database connection #7
Comments
For me, the solution was to edit wp-config.php, changing the DB_HOST setting from localhost to 127.0.0.1 |
@jaessi are you running mysql inside docker container? |
@rahul286 No, I'm just running MAMP normally. |
@brashrebel Old thread but giving a shot. Did you find solution for using it with Local? |
@Gangesh honestly, I cannot remember. I know Local has changed a lot since so there's a good chance this issue is no longer valid. |
I've run this script on a couple locally installed test sites. One I created using Local by Flywheel and the other using DesktopServer. The latter worked correctly but the former (Local) always returns:
Any ideas?
The text was updated successfully, but these errors were encountered: