{"id":7263,"date":"2019-09-23T10:29:40","date_gmt":"2019-09-23T04:59:40","guid":{"rendered":"https:\/\/www.hiddentechies.com\/blog\/?p=7263"},"modified":"2019-09-27T13:37:48","modified_gmt":"2019-09-27T08:07:48","slug":"magento-2-change-customer-password-database","status":"publish","type":"post","link":"https:\/\/www.hiddentechies.com\/blog\/magento-2\/magento-2-change-customer-password-database\/","title":{"rendered":"Magento 2 &#8211; How to Change Customer Password from Database"},"content":{"rendered":"<p>In this post I am going to explain how to change customer password from database in magento 2.<\/p>\n<p>Go to phpmyadmin and copy the following sql query.<\/p>\n<pre class=\"lang:default decode:true \">UPDATE `customer_entity`\r\nSET `password_hash` = CONCAT(SHA2('xxxxxxxxYOURPASSWORD', 256), ':xxxxxxxx:1')\r\nWHERE `entity_id` = 1;<\/pre>\n<p>Change the &#8220;entity_id&#8221; with your id and just change &#8220;YOURPASSWORD&#8221; (keep the xxxxxxxx) with your new password.<\/p>\n<p>Thats it. Enjoy Magento 2!!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post I am going to explain how to change customer password from database in magento 2. Go to phpmyadmin and copy the following sql query. UPDATE `customer_entity` SET `password_hash` = CONCAT(SHA2(&#8216;xxxxxxxxYOURPASSWORD&#8217;, 256), &#8216;:xxxxxxxx:1&#8217;) WHERE `entity_id` = 1; Change the &#8220;entity_id&#8221; with your id and just change &#8220;YOURPASSWORD&#8221; (keep the xxxxxxxx) with your new&#8230; <\/p>\n<div class=\"actions\"><a href=\"https:\/\/www.hiddentechies.com\/blog\/magento-2\/magento-2-change-customer-password-database\/\">Continue Reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":7334,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[59],"tags":[684,9,10],"_links":{"self":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/7263"}],"collection":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/comments?post=7263"}],"version-history":[{"count":1,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/7263\/revisions"}],"predecessor-version":[{"id":7264,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/7263\/revisions\/7264"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media\/7334"}],"wp:attachment":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media?parent=7263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/categories?post=7263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/tags?post=7263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}