Home
/
Other Applications
/
How to reset my Drupal admin password?

How to reset my Drupal admin password?

Drupal 8

Use Drush to change the password on your Drupal 8.  Execute the following command:

drush8 user-password someuser --password="enter-new-password"

Change someuser with your actual username and the new password.

Drupal 7

To change the admin password of your Drupal website, go to your Site Tools > Site > MySQL > phpMyAdmin. Select the database of your website > SQL and type the following text:

update users set pass=md5(’NEWPASS’) where uid = 1;

Change NEWPASS with the new password and click on GO.

Share This Article