How to reset the admin password in Prestashop using a MySQL query in phpMyAdmin

To reset the admin password for Prestashop, you have to execute the following MySQL query:

UPDATE `ps_employee` SET `passwd` = MD5(‘<_COOKIE_KEY_>password’) WHERE `ps_employee`.`id_employee` = 1;

The value of <_COOKIE_KEY_> can be found in

config/settings.inc.php

Leave a Comment