7
If you have an administration interface to your site (Cpanel, Hsphere etc.) you can try to connect to the database that way and see if it is actually connectable - then double-check the information in the database.
If the database user and/or password is wrong, you usually get a different error message, so the host and database name is the first priority to check.