WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. 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

Is there anyway to recover login credentials to Wordpress admin through the code somewhere?

I just tried wp-config. I'm asking because my email is not primary on the account so using 'Forgot Password' wouldn't help much as I need to get in now?

(I have FTP / Host access.)

share|improve this question
up vote 1 down vote accepted

You can do that via the database but you should
be carful and backup the database befoure any changes are done

first here is a link to md5 encoder (youll need it): MD5 Encoder

change password in the mysql

Hope this help...

share|improve this answer
This answer pretty much says what the above commented link on the Wordpress Codex says. Please accept this answer Cam77. – Dwayne Charrington May 22 '12 at 1:56

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.