Manage cookies that are used for advertising, such as ad personalization, remarketing, and ad effectiveness analysis.
2.14.13.4. Change administrator password in Magento
Attention!
The current administrator password cannot be retrieved because it is not stored on the site in plain text — only its hash is stored. The password can only be changed to a new one.- Open site database in phpMyAdmin.
- Run the SQL query (instead of
new_passwordspecify the new password, instead ofuserspecify the 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 login to the site admin panel.
(1)