编程语言
首页 > 编程语言> > PHP-我无法登录到Magento的本地副本-如何在软件的本地副本中使用丢失的密码?

PHP-我无法登录到Magento的本地副本-如何在软件的本地副本中使用丢失的密码?

作者:互联网

我使用MAMP在Mac上本地安装了Magento.我需要找回密码,但是丢失的密码显然无法立即使用.

MAMP是否可以使用丢失的密码功能(例如,通过激活邮件服务器)?

解决方法:

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

标签:php,mysql,magento,mamp
来源: https://codeday.me/bug/20191012/1901637.html