Wordpress can't identify database

Discussion in 'WordPress' started by harvester, Jul 6, 2007.

  1. #1
    Hi, I'm trying to install Wordpress on my server and ideally I should give the database a single name, ie. blog or wordpress, etc.
    The problem is, my server gives the database a username and name, ie. myusername_blog. I've checked the Wordpress install help and apparently this is a known issue.
    Has anyone else had this problem, and if so how did you resolve it?
     
    harvester, Jul 6, 2007 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    What's your problem?
    Just use myusername_blog as db name.
     
    Richie_Ni, Jul 6, 2007 IP
  3. r3born

    r3born Active Member

    Messages:
    1,070
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    88
    #3
    Just replace your database name in your Wordpress config file with myusername_blog (or whatever).
     
    r3born, Jul 6, 2007 IP
  4. harvester

    harvester Well-Known Member

    Messages:
    190
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    108
    #4
    Thanks guys, have actually done that, Wordpress still doesn't recognize it,
    will investigate further
     
    harvester, Jul 6, 2007 IP
  5. Etherfast

    Etherfast Peon

    Messages:
    1,192
    Likes Received:
    54
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Does your server have a management panel like Plesk or cPanel?
    You should have your DB settings in wp-config.php. Even though username, name and password are correct, you could be failing under host (most use localhost, but your host probably isn't).

    Where are you hosting?
     
    Etherfast, Jul 6, 2007 IP