Old databases: how to get -u and -p from them

Discussion in 'MySQL' started by BoneJj, Apr 15, 2009.

  1. #1
    alright So I have several older databases and so on that I want to restore, but I don't know the user name or password on them. How can I retrieve this information.

    These are from several years ago (about 5-6 years back)

    can anyone give me some pointers on how to retrieve this information from them.
     
    BoneJj, Apr 15, 2009 IP
  2. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #2
    The password is unrecoverable and is hashed in the users table. Do you have any database access to the server that these are on. The easiest way is to create a new user. Or Update the user information in the users table. This probably requires administrative or root access to do.
     
    jestep, Apr 15, 2009 IP
  3. BoneJj

    BoneJj Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    well I haven't re-uploaded them to the server just yet. I still have the backups on my HDD. I can re-dump them into a database but I was hoping that I could just recover the info before I re-upload them.

    but if I can just add another user then that would solve the problem then.
     
    BoneJj, Apr 15, 2009 IP
  4. BoneJj

    BoneJj Peon

    Messages:
    32
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    BoneJj, Apr 16, 2009 IP