Reset the admin (user1) password in Drupal 9

Execute this from within the drupal directory

php core/scripts/password-hash.sh 'newPassword'
password: 'newPassword' hash: $S$EHKLUvRyA/5gpTqWsICIePmwOaQ4oPwMEAfRySELtZ4JdZ8uiYCo

Execute from within MySQL:

UPDATE users_field_data SET pass='$S$EHKLUvRyA/5gpTqWsICIePmwOaQ4oPwMEAfRySELtZ4JdZ8uiYCo' WHERE uid = 1;
DELETE FROM cache_entity WHERE cid = 'values:user:1';