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