Resetting the PrestaShop Administrator Password
If you are locked out of your PrestaShop administrator account, you can reset the password either by email or directly in the database. On ruachost.com, both methods are supported.
Method 1: Reset by Email
Section titled “Method 1: Reset by Email”- Go to the PrestaShop login page.
- Click Lost password?.
- Enter the email address you used during installation.
- Click Send.
- PrestaShop will send a new administrator password to your email.
✅ This is the simplest method if your site’s email system is working correctly.
Method 2: Reset in the Database (via phpMyAdmin)
Section titled “Method 2: Reset in the Database (via phpMyAdmin)”If email is not working, you can reset the password manually:
-
Log in to your ruachost.com Client Area.
-
Open cPanel → File Manager.
-
Navigate to your PrestaShop installation directory (e.g.,
public_html/presta). -
Open the config directory and view the
parameters.phpfile. -
Copy the value of the
COOKIE_KEYvariable (long alphanumeric string). -
Note the value of the
DB_NAMEvariable (your PrestaShop database name). -
Go back to cPanel → Databases → phpMyAdmin.
-
Select your PrestaShop database.
-
Locate and open the ps_employee table.
-
Find the row for your administrator account and click Edit.
-
In the passwd field:
-
Delete the existing value.
-
Paste the
COOKIE_KEYvalue immediately followed by your new password (no spaces). Example:wrwr218phsdvo5jvsaz7bqwgxiyp0gbxohahimexHereIsTheNewPassword
-
-
In the Function dropdown for the
passwdfield, select MD5. -
Click Go to save changes.
-
Log in to PrestaShop with the new password.
✅ You now have administrator access again.
Important Notes
Section titled “Important Notes”- Always back up your database before making manual changes.
- Ensure you copy the
COOKIE_KEYcorrectly (without quotation marks). - The new password must be appended directly after the cookie key string.