2.13.4.6. Change admin password in OpenCart

Warning!

Find out the current admin password technically impossible, since it is not stored on the site in an open form — only its hash is stored. It is only possible to replace the password with a new one.
  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.
Content