Double-check the credentials in your wp-config.php file.
This is usually in the site root.
Recheck your database info in wp-config.php file.
ok, but now I have another problem. I enter the home site and then other pages do not let me enter, me error 404
Post your url so we can see what the problem is.
Reset you permalinks in Settings>>>>Permalinks
It was in the permalinks and later by default, thank you very much for the information
don’t know if it’s ok i join this thread, am also getting the error establishing database connection with my site hosted with bluehost even though the credentials of my wp-config is correct i still get the error establishing database connection.
@adewalelagos: Go ahead and try everything you can see written above, but if it doesn’t help then you should make your own new topic instead of writing on this ‘resolved’ one.
Hi,
I got the same error. I call the hosting support and I got this «Upon reviewing your account, I show that these addresses are different because you have a redirect in your .htaccess file for premiumvillacollection.com that leads elswhere. You will need to remove this redirect. Additionally, the database error is appearing because the connection string does not contain the correct log in credentials for the database. You will need to locate this information and add the updated credentials. »
I checked the wp-config.php file and the record are ok.
Can anyone tell me what do exactly?
thank you