I'm new to this - For some reason my localhost website stopped working and I've tried all of the popular recommended options and this didn't work. So I redownloaded MAMP and redownloaded Wordpress.

I am still getting this error. What could be causing this? The database, wp content, and wp-config.php aren't even up in the localhost folder, so it can't be that.

This error


Have you: - checked to ensure that the MySQL process is running locally? - set up a user/pass for the database? - used the same user/pass in the wp-config.php file?

That error usually means that the SQL server can't find or authenticate to the database.

  • The solution was the MYSQL user and password along with permissions! – Maria Jun 28 '19 at 21:32
  • If my answer was correct, then click the checkmark so others with a similar problem will be helped. Glad you got it working. – Rick Hellewell Jun 29 '19 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.