Results 1 to 3 of 3

Thread: Lost sql database password

  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    1

    Question Lost sql database password

    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. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    10,122
    cPanel/WHM Access Level

    Root Administrator

    Lightbulb

    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. #3
    Member
    Join Date
    Jan 2008
    Posts
    141

    Default

    Quote Originally Posted by itbulls View Post
    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.
    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.

Similar Threads

  1. Lost Admin Password / WHM password!
    By marshal_ramdev in forum cPanel & WHM Discussions
    Replies: 8
    Last Post: 02-06-2011, 11:09 PM
  2. cPanel upgraded - SQL databases LOST!
    By Handy Harry in forum Database Discussions
    Replies: 4
    Last Post: 12-09-2009, 11:23 PM
  3. Getting SQL Lost Connection Error
    By neglog in forum Database Discussions
    Replies: 1
    Last Post: 07-05-2007, 08:28 AM
  4. URGENT - lost FTP password for customer, root password not w
    By RandyL712 in forum cPanel & WHM Discussions
    Replies: 6
    Last Post: 09-20-2002, 12:42 PM