Skip to content

Instantly share code, notes, and snippets.

@sn00011
Created July 30, 2012 03:16
Show Gist options
  • Save sn00011/3203930 to your computer and use it in GitHub Desktop.
Save sn00011/3203930 to your computer and use it in GitHub Desktop.
Reset Drupal 6/7 admin password
# For Drupal 6:
## This sql will reset admin password to 'admin'
> UPDATE users SET pass = MD5('admin') WHERE uid=1;
# For Drupal 7:
## This drush command will reset admin password to 'admin'
> drush upwd admin --password=admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment