Skip to content

Instantly share code, notes, and snippets.

@smonteverdi
Created April 9, 2012 17:30
Show Gist options
  • Save smonteverdi/2344892 to your computer and use it in GitHub Desktop.
Save smonteverdi/2344892 to your computer and use it in GitHub Desktop.
WordPress: Update admin password with a query
UPDATE `wp_users` SET `user_pass` = MD5( 'new_password_here' ) WHERE `wp_users`.`user_login` = "admin_username";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment