Reset Admin Password – PrestaShop
Recently, I forget my password of PrestaShop`s backend, I tried the “lost password” link but never received any email, as the email i registered is invalid
I try this solution as I have access to the database.
Check your ” config/settings.inc.php ” file for the _COOKIE_KEY_ value.
Run the following SQL and replace the <> variables with your information:
UPDATE employee SET passwd = md5(“<_COOKIE_KEY_ value><yourNewPassword>”) WHERE email = “youremailaddress”;
or for example:
UPDATE `ps_employee` SET `passwd` = MD5('<_COOKIE_>password') WHERE `email` = 'firstname.lastname@example.org' ;