1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

changing database password... HELP

Discussion in 'PHP' started by oo7ml, Sep 24, 2007.

  1. #1
    How do i change my database password in cpanel. I deleted the current user, then created another user and password but it will not work (error connecting to database). So i then deleted the new user and set back up (created) the old user again and it works fine. Is there some file i need to change (apart from the obvious database.php connection file)
     
    oo7ml, Sep 24, 2007 IP
  2. Doskono

    Doskono Peon

    Messages:
    153
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Might want to check with your host...
     
    Doskono, Sep 24, 2007 IP
  3. bubbles19518

    bubbles19518 Peon

    Messages:
    73
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You have to update the script connecting to the database with the new username/password.
     
    bubbles19518, Sep 24, 2007 IP
  4. petronel

    petronel Peon

    Messages:
    113
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    did you added that user to respective database ?
    on cpanel you have: "Add Users To Your Databases:"
     
    petronel, Sep 24, 2007 IP