2.13.9.4. Change admin password in Magento
Attention!
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.- Openup site database in phpMyAdmin.
- Execute SQL query (instead of
new_password
enter a new password instead ofuser
- administrator login):SET @salt = MD5(UNIX_TIMESTAMP()); UPDATE admin_user SET `password` = CONCAT(SHA2(CONCAT(@salt, 'new_password'), 256), ':', @salt, ':1') WHERE username = 'user';
- Check the entrance to Adminpanel.