Reset lost admin password in osCommerce RC1+

Forgot your admin password in the newer versions of osCommerce? Either of these two fixes will reset your password to “pass“.

  1. Get into your database with something like phpMyAdmin
  2. Go into the “administrators” table
  3. Edit the record there for the user “admin”
  4. Replace the contents of the password with this:
    [code]6cdd7c57450225fac77427f5962bb726:40[/code]

Or you could just run this query, if you’re database is setup the standard way.

  1. [code]UPDATE `administrators` SET `user_password` = ‘6cdd7c57450225fac77427f5962bb726:40’ WHERE `id` =1 LIMIT 1 ;[/code]