I am an apprentice and am using Drupal for work it installed Drupal on to my machine and got it all up and running then I accidently logged out and now I can't log back in. I have tried to send a password reset but Drupal doesn't like the email address or username that I put in. I'm relatively new to this so I ask to keep it simple! :) What can I do?? Thanks in advance
|
This is easiest using Drush http://drupal.org/project/drush
|
|||
|
|
|
An alternate method without using Drush. Open your preferred mysql client(PhpMyAdmin/Adminer/MySQL GUI) and run these queries. Substitute letters in BLOCKS with actual values.
If you are not sure of the username that you used you can run this query to retrieve it.
|
|||
|
As you installed Drupal on your computer, you can follow this method to change the password for the account with which you are trying to log in. Create a changepass.php file in the same directory containing the index.php file used from Drupal. The following is its content.
Replace This method saves the password using the correct value, and the correct hashing which (on Drupal 7) can be changed by a module. |
|||
|
|
