Admin Password - Resetting or Changing

Zen Cart Admin Password - Resetting or Changing

1. Log in with another account.

If you can log in to your Zen Cart admin using another account, please do so, and reset/modify the other admin password as needed using the Admins > Admin Users page.

2. Resend Password

If you can’t login from another account, try using the Resend Password button on the admin login page. Enter the admin email address, and wait for your new password to arrive by email.

3. Use phpMyAdmin

If the techniques above don’t work, use phpMyAdmin to create a temporary admin user. Open your phpMyAdmin (supplied by your hosting company), select your store’s database, then click the “SQL” tab. Run this query:

DELETE FROM admin WHERE admin_name = 'Admin'; 
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_profile) 
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

NOTE: If you are using a prefix for your database tables, you’ll naturally need to add that prefix to the table name above. For example, if your prefix is zc_, you would use

DELETE FROM zc_admin and INSERT INTO zc_admin in the commands above.

You should now be able to login using the following details:
Username: Admin
Password: admin


Be sure to use proper case. ie. ‘Admin’ for username, not ‘admin’.
You will be prompted to change the password right away.

After you log in, remember to delete this temporary admin account after creating a new one. See the Admins > Admin Users page.


Still have questions? No problem! Just head over to the Zen Cart support forum and ask there.
In your post, please include your Zen Cart and PHP versions, and a link to your site.


Last modified May 22, 2020 by Scott C Wilson (b3b576e).