Zen Cart Logo
Forums / General Questions / Can't reset admin password.

Can't reset admin password.

Views: 813

Results 1 to 4 of 4
27 Jun 2011, 8:54 PM
#1
sepoto avatar

sepoto

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

Can't reset admin password.

I tried clicking the button to resend the password but the email is never sent. How can I reset the password. I see in the database it is encrypted. Is there some way to enter a new password and encrypt it through phpMyAdmin?

27 Jun 2011, 9:26 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't reset admin password.

The following will set
user = Admin
pass = admin

Check your tables for a prefix and alter this is you have one

SQL

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);

SQL Prefix

DELETE FROM prefix_admin WHERE admin_name = 'Admin'; 
INSERT INTO prefix_admin (admin_name, admin_email, admin_pass, admin_level) 
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
27 Jun 2011, 9:29 PM
#3
sepoto avatar

sepoto

New Zenner

Join Date:
Jun 2011
Posts:
6
Plugin Contributions:
0

Re: Can't reset admin password.

Yes. Thank you. Is that an MD5?

27 Jun 2011, 9:39 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't reset admin password.

Is that an MD5?
Not exactly