DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Jeffrey has posted 20 posts at DZone. View Full User Profile

Manually Reset A WordPress Password In The MySQL Database

08.20.2011
| 9703 views |
  • submit to reddit
        Log into phpMyAdmin (or whatever control panel you use to access your WordPress MySQL database) and run the following command:

UPDATE `wp_users` 
SET `user_pass` = MD5('newPassword')
WHERE `user_login` ='userName'
LIMIT 1;

Source: <a href="http://www.wprecipes.com/how-to-manually-reset-your-wordpress-password">http://www.wprecipes.com/how-to-manually-reset-your-wordpress-password</a>