osCommerce password reset

General | Updated 2026

If you have lost your osCommerce admin password and cannot log into the backend, you can reset it directly in the database using phpMyAdmin.

Reset via phpMyAdmin

One SQL query resets the password

Open phpMyAdmin (cPanel > Databases > phpMyAdmin), select your osCommerce database, click the SQL tab, and run:
UPDATE administrators SET user_password = MD5('NewPassword123') WHERE user_name = 'admin';
Replace NewPassword123 with your desired password and admin with your admin username.

01. Step by Step

  1. Log into cPanel > Databases > phpMyAdmin
  2. Select your osCommerce database from the left sidebar
  3. Click the SQL tab and run the UPDATE query above
  4. Log into osCommerce admin with the new password
  5. Change the password again through the admin panel immediately, so osCommerce stores it with its proper hashing method
Security Note

MD5 is not a secure hashing algorithm. The query above is a quick workaround for recovery only. Always change the password again through the osCommerce admin interface immediately after logging in, which stores it with proper security hashing.

Modern Alternative

osCommerce has not seen significant development in several years. If you are running an online store, consider migrating to a more actively maintained platform like WooCommerce (WordPress), PrestaShop, or OpenCart, all of which are available via Softaculous in cPanel. See How to Install Shopping Cart Software.

For other CMS password resets, see Joomla Password Reset. For general database management, see View/Modify Data in MySQL.

Locked Out?

If you cannot reset the password yourself, open a ticket and we can help.

Open a Support Ticket

Quick Recap

  1. Run the UPDATE query in phpMyAdmin
  2. Log in with the new password
  3. Change it again through admin for proper hashing
  4. MD5 is temporary only
  5. Consider migrating to WooCommerce or PrestaShop

CMS password recovery · Last updated March 2026 · Browse all General articles

  • 135 Users Found This Useful

Was this answer helpful?

Related Articles

How can I turn off directory indexing?

General | Updated 2026 If visitors can browse a list of files in your directories by going to...

What is this Code 304 appearing in my stats?

Article Updated This article has been consolidated HTTP status codes in web stats are...

Updated My Site But Still See Old Pages

General | Updated March 2026 You updated your website, but when you visit it you still see...

My site was hacked

General | Updated 2026 If your website has been hacked, defaced, or is redirecting to spam...

Heartbleed Vulnerablity, Risk and Fix

Resolved Vulnerability | 2026 This Vulnerability Was Patched in 2014 Heartbleed...



Save 30% on web hosting - Use coupon code Hosting30