Having just started with WordPress, I tried to access my WP-Admin but it stated "Error - invalid username". So, I set up a new user, added them to the DB and deleted the old user.
The new user has all privileges but when logging in it states:
"Error establishing a database connection
This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.
Are you sure you have the correct username and password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running? "
...Should I have done something differently??