after installing magento in my local machine I forgot admin password

后端 未结 15 1496
隐瞒了意图╮
隐瞒了意图╮ 2021-01-30 23:20

after installing magento in my local machine I forgot admin password what I have given. I am not able to login to my admin area how can I reset the password

I have read

15条回答
  •  时光说笑
    2021-01-31 00:04

    This would prove to be a good resource to read: http://www.magentocommerce.com/wiki/recover/resetting-admin-password

    SELECT * FROM admin_user;
    

    Then, find the username you want to modify in the listing provided - ‘admin’ in this example. Then, to update the password, type:

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

    ‘qX’ would be changed to whatever you want it to be and same goes for ‘password’

提交回复
热议问题