Resetting the administrator password?!?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
GasmanDesign's picture

Hello Drupal TC,

I have a client who has a Drupal 7 site hosted with Go Daddy, he has access to the Admin user 1 and somehow deleted it. The kicker is he didn't back up the site and the reset password no longer works.
(Trust me, I know this is not ideal!)

I've tried reading through the community documentation and worked on a few step by step solutions, but I'm stuck. I can't seem to get it back. https://www.drupal.org/node/1023428

Anyone have any suggestions or documentation that works and/or I would be happy to hire local tech support to help me fix this issue.

Thank you,
Corey
612.203.0728

Comments

If you have access to the

Les Lim's picture

If you have access to the database, you can insert a new user directly into the "users" table, setting the UID to 1 and 'mail' to your email address. You won't be able to directly input a password, but as long as the record is there, you'll be able to use the password reset form again, or "drush uli 1".