Posted: 16 Jul 2010 07:08 AM PDT
Contributed by: Sandesh Sethi
If you design and develop Wordpress theme, chances are you’ll have a local (localhost) copy in your machine for testing & debugging and preview purposes. Here’s a common mistake some of us may make – we tend to forget our admin password.
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.
In this article, I’m going to show a simple workaround to login to your localhost Wordpress Dashboard even if you’ve forgot your password, or even the login.
So you’ve forgotten your password, or username, or both. Wordpress suggest you use the "Lost your password" function to help recover but email system wasn’t properly setup in your localhost? Here’s how to get you back into the Dashboard quickly.
Go into PhpMyAdmin. The URL should be
Click “wordpress“ to see its tables. Look for
Click on the pen icon to edit the data for the specific user. Look for “
That’s it! You’ve just changed the password for username admin to “admin“.
|You are subscribed to email updates from hongkiat.com |
To stop receiving these emails, you may unsubscribe now.
|Email delivery powered by Google|
|Google Inc., 20 West Kinzie, Chicago IL USA 60610|