Magento – Admin password using SQL / Change Database

Today we wanted to change the password of the admin of our Magento store and used the following command, which e.g.. is entered in the phpMyAdmin SQL, after you select the database:

UPDATE `admin_user` SET `password` = MD5('123456') WHERE `username` = 'admin';

“admin-user” here refers to the table in which the users are registered. This is, by default, as indicated. But is a prefix used, must be adapted according to the name of the table.

“123456” is the new password, to be used. Here you can choose any passwords.

“admin” Thus, the username is the name with which you want to log in the backend. If another user is changed, must be even “admin” be replaced by the user name in question.

It is important to pay attention to the correct characters!

Used in Magento versions 1.4.1.1 bus 1.7.0.2.. Ask, Comments, Suggestions? Gladly!

Published by Covos

Since 2009 I have been working intensively with Magento. I started with the creation and operation of B2C stores. This was extended through my work in the logistics sector. This resulted first specialized B2E systems. Today I work day-a day with exciting B2C, B2B- and B2E projects and reports in this blog about challenges and give insider tips.

One comment on “Magento – Admin password using SQL / Change Database”

Leave a Reply

Your email address will not be published. Required fields are marked *