Reset lost admin password in osCommerce RC1+
February 22nd, 2008 Posted in Technical IssuesForgot your admin password in the newer versions of osCommerce? Either of these two fixes will reset your password to “pass“.
- Get into your database with something like phpMyAdmin
- Go into the “administrators” table
- Edit the record there for the user “admin”
- Replace the contents of the password with this:
6cdd7c57450225fac77427f5962bb726:40
Or you could just run this query, if you’re database is setup the standard way.
-
UPDATE `administrators` SET `user_password` = ’6cdd7c57450225fac77427f5962bb726:40′ WHERE `id` =1 LIMIT 1 ;
9 Responses to “Reset lost admin password in osCommerce RC1+”
By Cezar on Apr 20, 2008
Dude, U are the man
Thanks for the tip.
By Lou Erickson on Apr 28, 2008
Thanks, this just got us unstuck. Everyone else’s directions were many years old and outdated.
By St.Jones on Oct 1, 2008
Brilliant! Saved my day. Been going at it for hours. Simple solution!
Thanks.
By Krisztian on Oct 16, 2008
THANKS A LOT !!!! JUST GOT STUCK WITH THE PROBLEM AND MANAGED TO SOLVE IT QUICKLY WITH THIS.
By chandoo on Mar 4, 2009
Hi
Sorry! i did the same as u said but no way its not working for me. Could you advise me some thing better.
i changed the user name to admin, password to dd7c57450225fac77427f5962bb726:40. and i try to logged in with admin/pass.
thank you
By Ryan on Mar 5, 2009
6cdd7c57450225fac77427f5962bb726:40 <– mine
dd7c57450225fac77427f5962bb726:40 <– yours
Looks like you missed the first 2 characters.
By Thanh ROck on May 31, 2009
Thanks so much. I done. What is type code that password ? MD5 ?
By Sam Jr on Apr 26, 2010
It worked! You are the man!
By Steve on Jun 24, 2010
Using v2.2.rc2a, they have changed the hashing algorithm.
):
The hashed password field on the administrators table looks like (I’ve messed up some digits deliberately
cf7123a08d68fe858bfbbabd5c6c77db:Array
So “no cigar”. Thanks anyway – now to reload osCommerce