Skip to content

Instantly share code, notes, and snippets.

@magohl
Created April 23, 2019 20:18
Show Gist options
  • Save magohl/93f6defd545762e36a31c1ff00ea1de1 to your computer and use it in GitHub Desktop.
Save magohl/93f6defd545762e36a31c1ff00ea1de1 to your computer and use it in GitHub Desktop.
Forgot the WP password and no smtp setup?
docker exec into the mysql container
USE wordpress
UPDATE wp_users SET user_pass = MD5("my-new-password") WHERE wp_users.user_login = "my-admin-user";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment