Skip to content

Instantly share code, notes, and snippets.

@webgodo
Last active April 23, 2019 08:52
Show Gist options
  • Save webgodo/083b47b405fc54d7882a4381ab3d6e2a to your computer and use it in GitHub Desktop.
Save webgodo/083b47b405fc54d7882a4381ab3d6e2a to your computer and use it in GitHub Desktop.
Reset Admin Password via MySql - Drupal 7

Login to the database (MySql) where the Drupal 7 is installed. Then run the following query on your database;

Update users set name='[email protected]', pass='$S$DD7aCRCy6iTddzIbeTPIVdwg4Ea9KgFqpSXZpGjMQtWBA8zzg24t' where uid=1;

Now login Drupal via the user with Username: [email protected], Password: 123456

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment