Skip to content

Instantly share code, notes, and snippets.

@dotherightthing
Last active August 15, 2019 13:51
Show Gist options
  • Save dotherightthing/2e9743ea6bb2baf587b8d501c1848ec7 to your computer and use it in GitHub Desktop.
Save dotherightthing/2e9743ea6bb2baf587b8d501c1848ec7 to your computer and use it in GitHub Desktop.
[Reset WordPress Admin password] #wordpress

Reset WordPress Admin password

Created: 2017.03.28

  1. Get database name from wp-config.php
  2. Choose a new password
  3. Convert the password into MD5 (or use Encrypted Wordpress hash password generator)
  4. Load phpMyAdmin on the local or remote host
  5. Locate the 6q3rVgtQsiH0820S_2_users table
  6. Edit the admin user
  7. Replace the user_pass field with the MD5 hash
  8. Save the change
  9. Login as normal at /wp-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment