How To Recover Lost WordPress Localhost Password

How To Recover Lost WordPress Localhost Password

Hi friends, Today i am working on my Blog locally after a long time.But to my surprise any of UserName/Password is not working.

If you’ve forgotten your password for an online self-host WordPress blog, it’s easy as clicking on the “Lost your password” to recover. But in a localhost environment, configurations may vary from machine to machine. Most of the time “Lost your password” will not work as email system is either not supported or not properly setup.


1. Go to PhpMyAdmin. The URL should be http://localhost/phpmyadmin or http://localhost:portnumber/phpmyadmin.Now click on Database which is used by WordPress.

3-8-2013 12-43-20 PM









2. Now click on wp_users table or Browse in-front  of table name, in your case it will different, like xyz_users.

3-8-2013 12-45-02 PM









3. Click on the pen icon to edit the data for the specific user. Look for “user_pass” field. Select “MD5” for the Function DropDownList, and change it’s value to a new password, in our case the new password is call “admin“. Click GO once you are done.

3-8-2013 12-47-58 PM

3-8-2013 12-49-39 PM















Done, Now you can try to Login with new Password.


2 thoughts on “How To Recover Lost WordPress Localhost Password

  1. Bernice

    Hello, after reading this amazing paragraph i am as well cheerful to share my experience here with mates.

  2. Lucas

    Educational Article, it is fantastic to at last find educational writing on the internet, I am greatly pleased to find a blog that is not full of the normal rubbish, many thanks.

Comments are closed.