Guest User

Untitled

a guest
Oct 27th, 2017
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. Execute the following commands from the command line, in the Drupal 8 root directory:
  2. $ php core/scripts/password-hash.sh 'your-new-pass-here'
  3. password: your-new-pass-here hash: $S$EV4QAYSIc9XNZD9GMNDwMpMJXPJzz1J2dkSH6KIGiAVXvREBy.9E
  4.  
  5. With the new password we need run the following SQL statement.
  6. UPDATE users_field_data SET pass='$S$E5j59pCS9kjQ8P/M1aUCKuF4UUIp.dXjrHyvnE4PerAVJ93bIu4U' WHERE uid = 1;
  7.  
  8. To flush the cache for a specific user entity with compromise the rest of cache of your system you can use the following SQL statement.
  9. DELETE FROM cache_entity WHERE cid = 'values:user:1';
Add Comment
Please, Sign In to add comment