Drupal 7 - Set new admin password locally
First run this in terminal from the root drupal folder:
php ./scripts/password-hash.sh NewPassword
This will return:
password: NewPassword hash: $S$DtTRixJrMgXzrdlTR/BuAOclI0uWhrc7bOgVfiwoNrRJt01CgGIf
Then run this query in Sequel Pro:
UPDATE users SET pass = '$S$DtTRixJrMgXzrdlTR/BuAOclI0uWhrc7bOgVfiwoNrRJt01CgGIf' WHERE uid = 1;
Then login using the admin username and NewPassword as the password