最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Error establishing a database connection in localhost Wordpress site

programmeradmin1浏览0评论

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.

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.

Share Improve this question asked Jun 28, 2019 at 0:18 MariaMaria 194 bronze badges 0
Add a comment  | 

1 Answer 1

Reset to default 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.

发布评论

评论列表(0)

  1. 暂无评论