重置magento密码方法

It seems like the password must be typed and not copy/paste at least on the install part. good to know ;o)

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:

  1. 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:

  1. 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.

发布日期:
分类:Mysql

发表评论

邮箱地址不会被公开。 必填项已用*标注