我无法登录到Magento的本地副本-如何在软件的本地副本中使用丢失的密码? [英] I can't log into my local copy of Magento -- how to use lost password with local copy of software?

查看:64
本文介绍了我无法登录到Magento的本地副本-如何在软件的本地副本中使用丢失的密码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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.

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

Is there a way with MAMP to use the lost password feature (e.g. by activating a mail sever)?

推荐答案

默认登录名是:admin 默认密码是123123

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

如果您遇到麻烦并想要 将其重置为其他密码 在SQL数据库上运行:

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';

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

'qX' 会变成你想要的任何东西 密码也是一样

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

您也可以在phpMyAdmin中执行此操作, 找到admin_user字段并选择 密码更新时为MD5.

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

这篇关于我无法登录到Magento的本地副本-如何在软件的本地副本中使用丢失的密码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆