Another best option is:
drush uli
It gives one time login URL (for user id 1) and you can reset the password from your profile page.
On Fri, Oct 31, 2014 at 3:10 PM, Drupal drupal@afan.net wrote:
Hi to all!
I just found I locked my self out: I forgot my admin password (or other admin changed it without notifying me) but when I "Request new password" I don't get anything in my mailbox. I have one more account, as regular, authenticated user, and it works. But when I tried to "Request new password" for that account I didn't get email either. Looks like the site is not sending any confirmation email. If it does a matter, the site is in the "maintenance" mode.
I have server/mysql access.
Any idea?
Thanks, Afan
-- [ Drupal support list | http://lists.drupal.org/ ]