Earlier today my website worked fine. Then I changed the DB_Name, DB_User and DB_Password in my wp-config.php file to the production website’s values. Afterward, I got “Error establishing a database connection”. I immediately changed them back to their previous values, but I still keep getting this error message. I created the website by doing a ‘git clone’, and I’ve even copied the wp-config.php by doing a Ctrl-A from the GitHub repository to my laptop. I still keep getting this error message. Any idea why?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Please Help me ! Error establishing a database connection | 3 | 3527 | August 25, 2020 | |
NEW: Error establishing a database connection | 1 | 405 | December 15, 2022 | |
Database error in connecting | 2 | 1006 | August 25, 2020 | |
Help me fix this | 1 | 257 | December 12, 2023 | |
I put on my laptop and tried accessing my wp admin put it keeps bringing up this message | 2 | 361 | June 1, 2023 |