Reset WordPress admin password?

Today I managed to lock myself out of local/development installation of my website. After digging around I found the answer . Need to run the following query against your WordPress database:

UPDATE `wp_users` SET `user_pass` = MD5( ‘new_password_here‘ ) WHERE `wp_users`.`user_login` = “admin_username“;

Obviously change the new_password_here and admin_username to correct values!

Wordpress

If you enjoyed this post, please consider to leave a comment or subscribe to the feed and get future articles delivered to your feed reader.

Comments

One Response to “Reset WordPress admin password?”