How to update customer password in Magento 2 database?

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: UPDATE `customer_entity` SET `password_hash` = CONCAT(SHA2('SPJ9WIp77qLzX33ETxYE', 256), ':SPJ9WIp7:1') WHERE `entity_id` = 7615; 7615 is the customer id

June 12, 2021 · 1 min · Harshvardhan Malpani

[Forgot Password] [Can’t Log In] How to reset WordPress admin password without sending reset email?

So, admit it. We put really strong passwords and then we forget them. And you end up being locked out of your own website. So here is how you can reset it quickly. Go to your hosting control panel and then go to phpMyAdmin if available. Look into the database which is being used for your wordpress installation and click on Users table Inside users table, find the row responsible for your admin account. (check the user_nicename column for username match) and Press edit. ...

September 20, 2018 · 2 min · Harshvardhan Malpani