Created
February 15, 2014 17:19
-
-
Save wpsmith/9022209 to your computer and use it in GitHub Desktop.
SQL: Reset User Password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UPDATE wp_users SET user_pass =md5('newpassword') WHERE user_login = 'yourusername'); | |
UPDATE myprefix_users SET user_pass =md5('newpassword') WHERE user_login = 'yourusername'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more information, see the tutorial here: http://wpsmith.net/2014/snippets/popular-wordpress-sql-user-administration-scripts/