Change admin password in OpenCart


Current administrator password impossible to know, since it is not stored on the site in cleartext, only its hash is stored. The password can only be changed to a new one.
  1. Open the section "HostingMy sites".
  2. Click "CMS install" site menu:
  3. Click "Password reset":
  4. Select a user, enter a new password, and click "Change password":
  1. In the site config file takealook the name of the database to which it is connected.
  2. Openup database in phpMyAdmin.
  3. Execute the following SQL query, instead of new_password New Password:
    UPDATE oc_user SET `password` = MD5('new_password') WHERE user_id = 1;

    If the names of the tables in the database do not start with the standard oc_, and with a different prefix, make the appropriate change to the SQL query.

  4. Check the entrance to Adminpanel.