Database connection error!!!

A connection to the Database could not be established.
Please check your username, password, database name and host.
Also make sure config.php is rightly configured!

When connecting, the database returned:
Error 1045: Access denied for user 'webmaster1'@'localhost' (using password: YES)