getting DB access error (8 posts)

I keep getting the following error message:
Error establishing a database connection! This probably means that the connection information in your wp-config.php file is incorrect. Double check it and try again.
Are you sure you have the correct user/password?
Are you sure that you have typed the correct hostname?
Are you sure that the database server is running?
I recreated the db a number of times. Do i have to change permissions on the folder?