How can I reset my drupal admin password?



How can I reset my drupal admin password?..

Answer / Savita Sharma

To reset your Drupal admin password, follow these steps:
1. Access the Drupal installation's database using a tool like phpMyAdmin or the command line.
2. Locate the users table and find the uid (user ID) of the administrator account.
3. Update the pass field with the encrypted password (using the drupal_hash_password function) or reset it to an empty string if you want to generate a new one when the user logs in for the first time.
4. Save the changes and clear Drupal's cache.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Drupal Interview Questions

What is drupal and how do you use it?

1 Answers  


Mention what are the key features of Drupal?

1 Answers  


How to make a module?

1 Answers  


How can improve the drupal cache and logging?

1 Answers  


What is dependency injection in drupal 8?

1 Answers  


Name a few good drupal sites?

1 Answers  


Explain hooks in drupal.

1 Answers  


Which are commonly used php based cms?

1 Answers  


What is clean url in drupal?

1 Answers  


What is a patch? How to apply patch?

1 Answers  


What is a block module?

1 Answers  


What are patches in drupal?

1 Answers  


Categories