Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
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
up vote 2 down vote accepted

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.

share|improve this answer
Makes me wonder, isn't that so unsecure? To store a password in clear text? – thunderror Aug 6 '10 at 8:34
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

share|improve this answer
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.

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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