I too am having this difficulty. However, in my Cpanel I made sure that my username applies to my database. I made sure that I could even log into my database with my username and password. For some reason I’m still getting the “Error establishing database connection!” message.
My database name is pokepc03_blog, and my username is pokepc03_carrie. This is what the wp-config.php code looks like (password not shown, of course):
// ** MySQL settings ** //
define(‘pokepc03_blog’, ‘wordpress’); // The name of the database
define(‘pokepc03_carrie’, ‘username’); // Your MySQL username
define(‘****’, ‘password’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
Do I need to define the host? That would simply be my domain name, right?