Update password in MySQL

Discussion in 'MySQL' started by adamjthompson, Oct 18, 2006.

  1. #1
    Hello,

    I have a PHP/MySQL app installed on my site. I've forgotten my password, but the password in the MySQL table is encrypted. How do I encrypt a new password and/or decrypt the old password to see what it is?

    Thanks,
    Adam
     
    adamjthompson, Oct 18, 2006 IP
  2. SoKickIt

    SoKickIt Active Member

    Messages:
    305
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    70
    #2
    SoKickIt, Oct 18, 2006 IP
  3. PayItForward

    PayItForward Peon

    Messages:
    752
    Likes Received:
    43
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nevermind.
     
    PayItForward, Oct 18, 2006 IP
  4. RLM

    RLM Peon

    Messages:
    219
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you'd like to send me the encrypted password I may be able to decrypt it for you.
     
    RLM, Oct 18, 2006 IP
  5. masshan

    masshan Active Member

    Messages:
    133
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #5
    You should know which algorithm your password encrypted. There is a simple way is that:
    go to your mysql database and delete the old password. Now you can login with the blank password.
    Hope it's useful.
     
    masshan, Oct 23, 2006 IP
  6. adamjthompson

    adamjthompson Well-Known Member

    Messages:
    1,242
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    125
    #6
    Hmmm. That didn't work. Possibly because the script won't allow a blank password input?
     
    adamjthompson, Oct 23, 2006 IP
  7. php-lover

    php-lover Active Member

    Messages:
    261
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    58
    #7
    what type of encripted you use to encript your password .....md5 and some other encryption method can't be able to decript back to see the password.

    If you want to encrypt your password ...then see MD5() and SHA1() in PHP
     
    php-lover, Oct 24, 2006 IP
  8. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #8
    There are tools to generate encrypted passwords so you can create a new one a copy/paste over the old one :rolleyes:
     
    Mystique, Oct 24, 2006 IP