Unable to connect to database using a config.php file
I get the below listed error when connecting to database:
Database credentials are incorrect. SQLSTATE[HY000]  Access denied for user 'site01_databaseuser'@'localhost' (using password: YES)
My config.php settings are:
$username = "site01_databaseuser";
$password = "password";
$host = "localhost";
$dbname = "site01_databasename";
Thanks for getting in touch with us! I've edited your post to remove any easily identifiable database names for your security and privacy, replacing them with a generic 'site01'.
In a situation like this, the most likely cause is a mismatch between the password listed in the config.php file and the password associated with the database user.
That usually works! Often, the automatically generated password in config.php may not directly align with what the database is using.
That said, if you run into any trouble, please don't hesitate to contact our 24/7 technical support team.