Skip to main content

OSCommerce: Lost Password

To reset the OSCommerce password, you'll need to delete the existing administrator account and create a new one through phpMyAdmin within cPanel. Refer to our step-by-step guide below for detailed instructions.

A Step-by-Step Guide to Resetting Your Password

  1. Log in to your Bluehost Account Manager.

  2. In the left-hand menu, click Websites.

  3. Click the MANAGE button located next to the website you want to manage. Bluehost Account Manager - Website Manage button

  4. On the OVERVIEW tab, click on CPANEL below. Multiple hosting plans - cPane Email link

  5. Your cPanel will open in a new tab. Bluehost Account Manager - Hosting Tab - Quick Links - cPanel button - cPanel Dashboard

  6. Within cPanel, scroll down to Databases and select phpMyAdmin. phpMyAdmin link under Databases

  7. You will be taken to phpMyAdmin. On the left side, choose your OSCommerce database name (for example, _osc1). Database name ending in osc in phpMyAdmin

  8. Under Table , select administrators , then click Empty under the Action column. Empty icon under Action column

  9. You will see a prompt, "Do you really want to: TRUNCATE TABLE 'administrators'?" Click the OK button to remove your administrator account. Truncate Table

It is recommended to keep the "Enable foreign key checks " checked. 5. Go back to your OSCommerce site and try to log in to the admin area. The site will state that there's no current user, so that you can be the first. OSCommerce Login

  1. Enter your chosen admin name and password into the login section, then click the Login button.
  2. It might look like nothing happened, but your site has just accepted your submission as the new administrator user.
  3. Log in again with the newly created administrator username and password you just entered previously.

Summary

The process to reset a missing OSCommerce password involve logging in to your hosting account's cPanel. To delete the existing administrator, use phpMyAdmin. Once the deletion is complete, a new account for an administrator is created when you attempt to log into the admin area of the OSCommerce. This process guarantees you can gain the control back of your OSCommerce site while using the newly created password. This is a straightforward solution for users facing access issues. It provides a way to restore administrative access through a few technical adjustments within the database.