The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lost sql database password

Discussion in 'General Discussion' started by itbulls, Nov 24, 2009.

  1. itbulls

    itbulls Registered

    Joined:
    Oct 13, 2009
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    i was using a phpbb forum, an error occured so i deleted my all files, but forgot to backup config.php in which sql database password is stored.

    Now config.php is shown in legacy file manager deleted files but it is not restored.

    Now tell me the way to clear sql db password or to restote it.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,449
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your host can better assist you with this sort of thing. Short of that, simply add a new user to the MySQL database section of your cPanel. Then give that user a password. Lastly, associate that use with the database of the forum, all from that same page.

    Add those new details to the replaced config.php and you should be good to go again, I think. This is the easiest part. Replacing the files for your forum if important, might be a bit tougher.

    GL
     
  3. thewebhostingdi

    thewebhostingdi Well-Known Member

    Joined:
    Jan 10, 2008
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    If you have an backup then you can restore it or you can create the new user from your cPanel --> MySQL database and make the changes in your configuration file and have a try.
     
Loading...

Share This Page