Created
July 30, 2012 03:16
-
-
Save sn00011/3203930 to your computer and use it in GitHub Desktop.
Reset Drupal 6/7 admin password
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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