Friday, December 28, 2012

Drupal 7 Password Reset without Email or UI

I have been building out the new Development VMs that I use for developing PHP websites including Drupal 7 websites. I ran into an issue where the password for the admin account no longer worked. The database was migrated from an older environment.

I found this link that helped me out on resetting the admin password:


You basically can use drush to reset the password easily.

Navigate to your drupal folder and run the following:
drush user-password username --password="new_password"

No comments:

Post a Comment