精彩推荐

Magento: 忘记 magento admin密码怎么办?

1272人阅读  0人回复   查看全部 | 阅读模式 | 复制链接   

1

主题

1

帖子

5

积分

新手上路

Rank: 1

积分
5
发表于 2015-4-23 19:36:14
分享到:
magento admin 密码不用增加随机值,可以直接用md5函数生成即可。

THIS INFO IS OUTDATED. THE LATEST VERSIONS OF MAGENTO DON’T USE MD5 for the Password

If you have access to phpMyAdmin, here are the steps to reset your password.

1. First, open up phpMyAdmin.

2. Click on your database name for Magento from the sidebar on the left.

3. Click on the SQL tab and type the following in to the text box:

  1. UPDATE `admin_user` SET `password` = MD5('PASSWORD') WHERE `username` = 'USERNAME';
复制代码


You’ll want to replace the capitalized values with the correct information:

◾USERNAME - The user whose password you’ll be udpating

◾PASSWORD - The new password you want to use

For example, if my username was admin and I wanted to reset the password to 123456, I would do this:
  1. UPDATE `admin_user` SET `password` = MD5('123456') WHERE `username` = 'admin';
复制代码


If you don’t know the name of the user you want to update, you can see all the users by clicking on the admin_user link from the sidebar, and then select the Browse tab. The username column has the list of available users.
回复

使用道具 举报

快速回复 返回顶部 返回列表