Forum PrestaShop

Il Forum di PrestaShop è lo spazio in cui puoi condividere con la comunità di PrestaShop consigli pratici sull'e-commerce e trovare la risposta a tutte le domande tecniche e funzionali.

Forum PrestaShop

Jump to content

 

Setting configuration database user and password in database

3 replies to this topic
#1
dankimhi

    PrestaShop Newbie

  • Members
  • Pip
  • 9 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

#2
safa

    PrestaShop Addict

  • Moderators
  • 968 posts
this here
config/settings.inc.php
Posted Image

Sanal Pos Modülü İçin tıklayınız.(Tüm Bankalar Api ve 3d Secure)

#3
rocky

    PrestaShop Superstar

  • US Moderators
  • 9988 posts
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.
Check out Nethercott Constructions for PrestaShop guides and modules. Like us on Facebook for news updates.

#4
safa

    PrestaShop Addict

  • Moderators
  • 968 posts

From 1278669094:

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.

Attached Files


Posted Image

Sanal Pos Modülü İçin tıklayınız.(Tüm Bankalar Api ve 3d Secure)