Thread: No more excuses
View Single Post
Old 05-29-2008, 10:00 AM   #172 (permalink)
mattgatten
Senior Member
 
Join Date: May 2008
Posts: 150
iTrader: 0 / 0%
mattgatten mattgatten mattgatten mattgatten mattgatten mattgatten mattgatten mattgatten mattgatten mattgatten mattgatten
CCLIND, I just read your PM. I think the problem you are having with the WP getting connected to your DB might be a simple thing.

I'm posting a generalized solution here for everyone to see because I'm pretty sure more than one person might have this problem. It's regarding cPanel and the MySQL portion of the app.

When you get an account on cPanel your username is also the account name. They way cPanel handles everything else is based on that, even the databases. Here's an example.

Say my username for cPanel is: accordman

Say I create a DB named: wordpress
Then I create a user named: admin (and add it to the db).

Here is what the credentials would look like for the username and db name.

db name: accordman_wordpress
db username: accordman_admin

Always let it default to 'localhost' for the hostname
Password doesn't get the prefix.

There you go, hope that helps.

Matt
__________________
My Noobie Training Site : Everything About Honda Accords
mattgatten is offline