This error means one of 5 things:
1. Your database username is wrong
2. Your database password is wrong
3. Your database name is specified incorrectly or the database does not exist.
4. Your database hostname is wrong. Many times webhosts use “localhost” but sometimes they might use a domain name.
5. Your database username was not given permissions to access your database.
Posted in: Installation FAQ