Top

Daily Tip: How to Reset Your WordPress Password From the Database

April 26, 2011

From time to time you may encounter an unusual situation wherein you need to reset your WordPress password but you no longer (or never did) have access to the email address associated with your account. Perhaps you’ve “inherited” this website with very little information.

Here’s a quick MySQL snippet that will change your password:

# Reset Password
UPDATE wp_users SET user_pass = MD5( 'new_password' ) WHERE user_login = 'your-username';

Instructions for use:
1. Replace the new_password with your new password.

2. Replace your-username with your username.

3. Fire up phpMyAdmin and go to your database.
Open the SQL tab.
Paste the above snippet into the text field and click on the Go button.

You should now be able to log in to your WordPress site using your new password.

Comments

Got something to say?

Bottom
Article Archive  |  This site is a historical archive of pressography.com, a WordPress plugin and theme blog that published between 2006 and 2012. It is preserved for reference and is not operated by, affiliated with, or endorsed by its original authors. Nothing here is for sale and no form on this site is active. If you are the original owner and would like this domain returned, please get in touch.