Results 1 to 5 of 5

Thread: How do you retreive Password for MySQL
      
   

  1. #1
    Charles55 is offline Sergeant
    Join Date
    Jun 2005
    Posts
    21

    Default How do you retreive Password for MySQL

    I have a MySQL database for some software I'm trying to renistall
    and I have to have the password for the config file.

    I have the user name, database name, but I can not find the password.

    I need to use the old database becuase it has all my users and list in it.

    My Question is: How do I find the password for my MySQL database.

    charles

  2. #2
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: How do you retreive Password for MySQL

    You can't retreive it. You have to go into cPanel, delete the user (Note: not the database, just the use) that is linked to the database. Then once you make a new user (with a new password that you now know), you just link it to the database

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  3. #3
    Charles55 is offline Sergeant
    Join Date
    Jun 2005
    Posts
    21

    Default Re: How do you retreive Password for MySQL

    Thank You

    Charles

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: How do you retreive Password for MySQL

    Or, if you have the old script installed in your site, try tracing the file that contains the user details. Usually would look like "config.php" or dbconnect.php" or "dbcommon.php" or something similar. Download the file on your computer, openit with Notepad (or your editor, whichever that is) and scroll the file content searching for the user details.

    Please note two things:

    1. Following Watdaflips advise, you can avoid deleteing the user. Simply recreate the same user, with a new password.

    2. Some times, unless the installation wizard has a verification routine, installing the script from scratch will DELETE the existing database tables. In some other cases, it will deny installation. And, in some other cases, it will create a new database leaving the old as it is.

    It would be wise to export your database data in csv or xls format files, so you will in any case have a back up. if anyting goes wrong (or if a new database is created, so you cannot have access to the old data) you can import this data into the new database.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    Charles55 is offline Sergeant
    Join Date
    Jun 2005
    Posts
    21

    Default Re: How do you retreive Password for MySQL

    i did get the script up and running....although today I will copy the database....it took over two and half years to build it up.
    small but... highly targeted.
    Thanks

    charles

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49