views:

1048

answers:

3

i forgot my drupal user id and password. Is there any way to recover it

+8  A: 

http://example.com/<path-to-drupal>/user/password should bring you to a page where you can request a reset/new-password.

Edit: The above path applies if you have 'clean URLs' enabled, if not use http://example.com/<path-to-drupal>/?q=user/password

beggs
+3  A: 

If you don't have access to the email (or want to bulk-update the passwords) you can update the database with a query like:

UPDATE users SET pass = md5('NEWPASSWORD') WHERE name = 'admin'

Don't forget to put the drupal prefeix before the table name.
dlamblin
A: 

Does anybody know how to do lyricnz's trick in D7 ? It looks like 7.x got a more tricky pass storage scheme.

esteewhy