Password reset via email
To reset your PrestaShop administrator password by email, follow these steps:
- Go to the PrestaShop administration page
- Click on the link Lost password?
- In the Email address box, enter the email address used for installation
- Click Send. PrestaShop will send the new password to the mentioned address
Resetting the administrator password in the database
If you are unable to reset the PrestaShop administrator password via email, you can manually reset it in the database. For this procedure, follow these steps:
- Log in to cPanel
- In the Files section of cPanel, click File Manager
- Navigate to the directory where PrestaShop was installed
- In the PrestaShop directory open config directory
- Right click on settings.inc.php file, and then click View
- Locate the variable _COOKIE_KEY_, and copy the alphanumeric value
- Note _DB_NAME_ this is the name of your database used in Prestashop.
- Return to the cPanel home page
- In the Databases section, click phpMyAdmin
- In the left pane of phpMyAdmin, click on the name of the database used by the PrestaShop database obtained in step 7. A list of tables will appear.
- Click on the ps_employee table
- Locate the administrator login row that you want to modify and then click Edit
- Locate the passwd field, in that field is the encrypted password
- In the Value field, delete all text
- Copy the alphanumeric value copied in step 6
- Enter the new desired password after the alphanumeric value
- In the Function list selection for the passwd field, select MD5
- Scroll to the bottom of the page, and then click Go. phpMyAdmin will update the new password in the database
- You should now log in with the new password set in the Prestashop admin panel.
