1 2 3 | UPDATE `customer_entity` SET `password_hash` = CONCAT(SHA2( 'SaltPASSWORD' , 256), ':SALT:1' ) WHERE `entity_id` = 7615; |
Please note that if SPJ9WIp7 is the salt and User’s password is 7qLzX33ETxYE, the following will be your query:
1 2 3 | UPDATE `customer_entity` SET `password_hash` = CONCAT(SHA2( 'SPJ9WIp77qLzX33ETxYE' , 256), ':SPJ9WIp7:1' ) WHERE `entity_id` = 7615; |
7615 is the customer id
Leave a Reply