Skip to content

Instantly share code, notes, and snippets.

@GideonBabu
Created October 23, 2018 13:47
Show Gist options
  • Select an option

  • Save GideonBabu/b3f2f0e02c4d0119bf72674961768665 to your computer and use it in GitHub Desktop.

Select an option

Save GideonBabu/b3f2f0e02c4d0119bf72674961768665 to your computer and use it in GitHub Desktop.
Magento 2 Reset Customer Password SQL query
UPDATE `customer_entity`
SET `password_hash` = CONCAT(SHA2('xxxxxxxxYOURPASSWORD', 256), ':xxxxxxxx:1') // change YOURPASSWORD to your password to reset
WHERE `entity_id` = 19975 and `email`="[email protected]";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment