Wednesday, January 12, 2011

How to retrieve forgotten Wordpress Admin password

I want to get my WordPress Blog up and running again (change the theme) but I have forgotten my password. Is there a way to retrieve this without having to reinstall WordPress and lose all my posts ?

I do not remember the username or email either.

From web app phwd
  • Do you have access to the hosting account and the database you used when you set it up?

    Use this link: link text

    phwd : Thanks but I don't remember my phpMyAdmin password either :(
    From Aaron
  • Do you remember your FTP account password or your browse filesystem password? If so, FTP into the site, go into the directory you installed WordPress in and look for wp-config.php file. That contains your database's password in clear text.

    Not sure what protects phpMyAdmin, but if that's .htaccess or .htpasswd, you can edit or delete that one.

    thunderror : Makes me wonder, isn't that so unsecure? To store a password in clear text?
    Alexandre Rafalovitch : Any system has a weakest link. If you have access to file system, you are beyond hope. But yes, cleartext password is not so good. A smart thing would have been to hash it on first use. But it is a little difficult since WordPress runs from scratch every time you request a page (no live memory outside of files/database/http-request content)
  • Here's a mess of info in the WP Codex on resetting using various methods.

    phwd : I like this alot! Although Alexandre way I got through with first.

0 comments:

Post a Comment