I can't log into my local copy of Magento — how to use lost password with local copy of software?

前端 未结 2 1978
走了就别回头了
走了就别回头了 2021-01-25 02:35

I have a local install of Magento on my Mac using MAMP. I need to retrieve my password, but the lost password is obviously not working out of the box.

Is there a way wi

2条回答
  •  感情败类
    2021-01-25 02:58

    The default login is : admin The default password is : 123123

    If you are having troubles and want to reset it to a different password, just run at your sql database:

    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'

    You can also do this in phpMyAdmin, find the admin_user field and choose MD5 when updating password.

    Source

提交回复
热议问题