How to reset the prestashop background Password

Source: Internet
Author: User
Tags prestashop
I often need to switch back and forth in different prestashop versions. I have n versions of my local machine and many versions of client servers. It is common to forget the password. Prestashop is also an MD5 encryption method. The difference is that it encrypts your password with another character, so it can hardly be reversed. So once you forget your password, you can only reset it. Assume that you want to reset the new password to 123456. First, find the _ cookie_key _ In the config/setting. Inc. php file, and combine this value with your new password after MD5. Then, you can use it as the new password of the database. My _ cookie_key _ = q8ofsvq9j6bive2tnsfkkrhgzl04s3ahuzyluwyhxl3n686jlsbix7ul so for me: Update 'prestash '. 'ps _ employee 'set' passwd' = MD5 ('q8ofsvq9j6bive2tnsfkkrhgzl04s3ahuzyluwyhxl3n686jlsbix7ul '+ '20140901') Where 'ps _ employee '. 'id _ employee '= 1 limit 1 ps_employee is the name of the Administrator table. If you set another table prefix such as PS1 _, you need to change it here. Id_employee = 1 is the first administrator. To reset another administrator account, enter the corresponding ID.


How to reset the prestashop background Password

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.