How to reset the password in my Presta Shop?

Open your cPanel and go to PHPMyAdmin.

Select the database of your Presta Shop application.

If you are not sure which database your Presta Shop is using you can check the config/settings.inc.php file and see the value of _DB_NAME_, which looks similar to the following:

define('_DB_NAME_', 'your_db_name');

You can open the file through cPanel->File Manager.

Also, check the _COOKIE_KEY_ value in the same file, as you will need it in the next step.

Once you have selected your database, click the SQL button from the top menu to run the following SQL query and replace the <> variables with your information.

UPDATE employee SET 'passwd' = md5(concat('<_COOKIE_KEY_ value>', '<yourNewPassword>')) WHERE email = “youremailaddress”;

For example if your _COOKIE_KEY_ value is 123, your new password is abc and your email address is john@smith.com the query should look like the following:

UPDATE employee SET 'passwd' = md5(concat('123', 'abc')) WHERE email = “john@smith.com”;

You need help with a shopping cart? hostlantern is specialized in eCommerce hosting and provides expert support for a large number of shopping carts. Check out our shopping cart hosting services!

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to fix the problem with uploaded images not showing in Prestashop?

The most common reason for this problem is that the pictures are being uploaded with incorrect...

How to set OpenCart to use SMTP

By default, the PHP mail() function is used for sending emails from the OpenCart application. To...

How to clear the cache in Prestashop

When making changes in Prestashop they will often not appear right away due to old cached...

How to configure Prestashop to work with another domain

Prestashop, like many other applications out there, works based on a domain name. In case you...

How to enable SEO/SEF links in Opencart?

You can enable the SEO/SEF feature in Opencart through the admin area > System > Settings...