How to reset my Drupal administrative password?

You can easily change your Drupal password through a database-modification tool like phpMyAdmin

Once you access the app, select the database Drupal is using. Then open the interface to execute SQL queries. In it enter the following query:

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

This will set the password for your admin username to PASSWORD. You can substitute this string in the query to set a password for your own.

Leave a Review

Disclaimer: Drupal Hosting Directory is not affiliated with or endorsed by the Drupal project. The hosting companies listed in the directory has been chosen because our research about them convinced us that they provide reliable and steady hosting services and are compatibility with the Drupal CMS. The Directory receives commissions from some of the hosting companies, however their ranking does not reflect the size of the commissions, but our personal opinion.

Copyright © 2006-2010 Drupal Hosting Network