Jump to content

Setting configuration database user and password in database


Recommended Posts

Hello,

I have lost access to my backoffice due to a problem with the database user's password.
Could you please indicate how to set the user's name and password directly in the database (which table, field and value)?

Thanks,

Dan

Link to comment
Share on other sites

Get your COOKIE_KEY from config/settings.inc.php, then add a password with at least 8 characters after it, then run the concatenated string through an MD5 generator like the one here, then put the result in the passwd field of the employee in the ps_employee table.

Link to comment
Share on other sites

Get your COOKIE_KEY from config/settings.inc.php, then add a password with at least 8 characters after it, then run the concatenated string through an MD5 generator like the one here, then put the result in the passwd field of the employee in the ps_employee table.
or newadmin.php upload your admin folder and create new admin.

newadmin.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...