I want to get my WordPress blog up and running again (change the theme) but I have forgotten my password. I do not remember the username or email either.

Is there a way to retrieve this without having to reinstall WordPress and lose all my posts?

  • Self hosted or wordpress.com hosted? – mbillard Aug 6 '10 at 3:19
  • He says "reinstall" Wordpress. Which might suggest that it is self hosted. – thunderror Aug 6 '10 at 8:36

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.

  • Makes me wonder, isn't that so unsecure? To store a password in clear text? – thunderror Aug 6 '10 at 8:34
  • 1
    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) – Alexandre Rafalovitch Aug 6 '10 at 14:45

Do you have access to the hosting account and the database you used when you set it up?

Use this link: link text

  • Thanks but I don't remember my phpMyAdmin password either :( – phwd Aug 5 '10 at 23:12

Here's a mess of info in the WP Codex on resetting using various methods.

  • I like this alot! Although Alexandre way I got through with first. – phwd Aug 6 '10 at 23:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.