Manually update wordpress admin password

April 2nd, 2009

Lost your password? Forgot your password link not working? well you can just reset it using a simple mysql query:

UPDATE wp_users Set user_pass =”passsword” WHERE ID = 1;

(Note: the ID integer reflects the ID of the user you want to modify the password for, so be sure to check your database to see what ID matches up to what user)

You can run the above command via shell or through phpmyadmin.

Leave a Reply