Skip to content

Instantly share code, notes, and snippets.

@rxnlabs
Created March 9, 2016 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rxnlabs/02137a88cda6498e8eaf to your computer and use it in GitHub Desktop.
Save rxnlabs/02137a88cda6498e8eaf to your computer and use it in GitHub Desktop.
WordPress - WP CLI reset user's password using wp-cli
wp db query "UPDATE wp_users SET user_pass=MD5('new_password_here') WHERE user_login='username'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment