1

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

0

1 Answer 1

0

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.

2
  • The solution was the MYSQL user and password along with permissions!
    – Maria
    Commented Jun 28, 2019 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. Commented Jun 29, 2019 at 1:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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