Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

after installing magento in my local machine I forgot admin password

Tags:

after installing magento in my local machine I forgot admin password what I have given. I am not able to login to my admin area how can I reset the password

I have read this article http://www.atwix.com/magento/reset-admin-password-mysql/ but it is not working for me. Or may be I am not getting this

please help me am a beginner of Magento

like image 598
Yavana Avatar asked Jun 07 '13 11:06

Yavana


People also ask

How do I reset my Magento Admin password?

Visit your Magento admin backend in a browser, and click the link Forgot your password. Insert your email address, complete the CAPTCHA, and then press on the Retrieve Password button. An email will be send to your email address, containing a password reset link.


2 Answers

Go To :

1 - Login in to PhpMyadmin .

2 - Jump in to Magento's database .

3 - Go to admin_user table and edit the table .

4 - put a "password" (which you want) and select MD5 from function dropdown (Important).

This is working both in CE And EE latest version (tested in both latest version), no need of core file changes.

like image 51
Mufaddal Avatar answered Dec 11 '22 04:12

Mufaddal


This would prove to be a good resource to read: http://www.magentocommerce.com/wiki/recover/resetting-admin-password

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’

like image 26
akkatracker Avatar answered Dec 11 '22 05:12

akkatracker