How do I change or reset my Admin Password? (I lost it)

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 via Admin->Tools->Admin Settings


2. Delete the old user and add a new one.

If you can't remember your admin account or password, there's still hope.
The first thing you can try is to click the "Resend Password" button and enter the admin email address.
If for some reason that doesn't work for you, you can create a temporary admin account in order to log in. 

In v1.5.x use this:

Open your phpMyAdmin (supplied by your hosting company), select your store's database, then click the "SQL" tab and run this query:
Code:
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. 
ie. "DELETE FROM prefix_admin ... " and "INSERT INTO prefix_admin ..." ... replacing "prefix_" with your actual tablename prefix.

In v1.3.9 and older, use this:

Open your phpMyAdmin (supplied by your hosting company), select your store's database, then click the "SQL" tab and run this query:
Code:
DELETE FROM admin WHERE admin_name = 'Admin'; 
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) 
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
If you are using a prefix for your database tables, you'll naturally need to add that prefix to the table name above. 
ie. "... FROM/INTO prefix_admin ...".
-------

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'. 
In v1.5.0 and newer, 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.
In v1.5.x you'll do that under the Admin Access Management tab.
In v1.3.x and older, it's under the Tools->Admin Settings option.
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I find out what version of Zen Cart or PHP or MySQL I'm using?

To find out what version of Zen Cart or PHP or MySQL you are currently using, you can simply go...

Getting a BLANK PAGE? Here's the answer ...

If you're getting a blank page when trying to browse to a certain page on your store, or after...

What's New in the Upcoming v2.0 release?

Database Abstraction Layer and Sql CacheThe abstraction layer has been re-factored to include a...

Image Preparation - How-to

I've seen several posts where people obviously aren't quite sure about the best way to set up...

Some tips to modify stylesheet

1. Download Web Developer extension for FireFox here2. Install & restart FireFox. You should...