Programmatically Change Admin Password in Magento

10 Jul


If you want to do it via a Query here is the query to run:

UPDATE admin_user SET password=CONCAT(MD5('qXpassword'), ':qX') WHERE username='admin';

the resulting password would be ‘password’, qX is the salt you could use any 2 letter combo..

UPDATE admin_user SET password=CONCAT(MD5('bL123456'), ':bL') WHERE username='admin';

would make the password 123456 …

Leave a comment

Posted by on July 10, 2013 in Magento



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: