I got the same error «Error establishing a database connection» when I go to http://www.premiumvillacollection.com but if I don't use the www. I can see the site.
I checked the wp-config.php file and the record are ok.
I cannot enter the wp admin page.
I emailed the hosting company 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 elsewhere. 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. »
Can anyone tell me what do exactly?