{"id":302,"date":"2023-07-12T22:16:21","date_gmt":"2023-07-12T22:16:21","guid":{"rendered":"https:\/\/www.ehcp.net\/?p=302"},"modified":"2023-08-13T20:38:08","modified_gmt":"2023-08-13T20:38:08","slug":"ehcp-password-recorvery","status":"publish","type":"post","link":"https:\/\/www.ehcp.net\/?p=302","title":{"rendered":"Ehcp Password Recorvery"},"content":{"rendered":"\n<p>if you installed ehcp, and somehow forgot\/lost your ehcp admin password, or it does not accept password follow these:<\/p>\n\n\n\n<p>Prerquisities:<br>* You must be able to connect your server by ssh, and you know your root password of your server.<br>if you dont know root password of server, you can&#8217;t do anything. in this case, you need to re-install your server or perform root password recovery.<\/p>\n\n\n\n<p>* You must know mysql root password. if you dont know, do one of these:<br>go to \/var\/www\/vhosts\/ehcp dir, cat config.php (look into that file with cat or vi) dbrootpass is written there<br>or, do mysql password recovery as described in&nbsp;<a href=\"http:\/\/www.ehcp.net\/?q=node\/160\">http:\/\/www.ehcp.net\/?q=node\/160<\/a><\/p>\n\n\n\n<p>* You must be able to connect your server by ssh and web (port 80)<\/p>\n\n\n\n<p>Steps to recover ehcp admin login pass:<br>* connect your server by ssh<br>* on command line, mysql -p<br>use ehcp;<br>update panelusers set password=md5(&#8216;1234&#8242;) where panelusername=&#8217;admin&#8217;;<\/p>\n\n\n\n<p>This way, you should be able to login to your ehcp using password 1234<\/p>\n","protected":false},"excerpt":{"rendered":"<p>if you installed ehcp, and somehow forgot\/lost your ehcp admin password, or it does not accept password follow these: Prerquisities:* You must be able to connect your server by ssh, and you know your root password of your server.if you dont know root password of server, you can&#8217;t do anything. in this case, you need [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":303,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/302"}],"collection":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=302"}],"version-history":[{"count":1,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions"}],"predecessor-version":[{"id":304,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/posts\/302\/revisions\/304"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=\/wp\/v2\/media\/303"}],"wp:attachment":[{"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=302"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=302"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ehcp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}