Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 11-30-11, 03:02
BOD Member
 
Join Date: Jan 2011
Posts: 182
Default Reset Magento Admin Password

I have to reset my Magento Admin Password.
Is there any easy way to reset it?
Reply With Quote
  #2 (permalink)  
Old 11-30-11, 03:26
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

A. Go to your cPanel > phpMyAdmin,
B. Select your Magento database,
C. Click the SQL tab and paste the following :

Quote:
UPDATE admin_user SET password=CONCAT(MD5('sGnewpass'), ':sG') WHERE username='AdminUsername';
D. Select “Go”

Quote:
Note:
Newpass in the MD5 = your new password
AdminUsername = your Magento admin username.
Reply With Quote
  #3 (permalink)  
Old 12-01-11, 12:05
BOD Member
 
Join Date: Dec 2011
Posts: 16
Default

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.

If you want to add a new admin user, you must not only create a new entry in the table ‘admin_user’, but you also have to insert an entry in the table ‘admin_role’ which has to be associated with the user by the field ‘user_id’.

Thanks
CoreIT Developers!
Reply With Quote
  #4 (permalink)  
Old 12-11-11, 02:18
BOD Member
 
Join Date: Dec 2011
Posts: 3
Default Resetting Admin Password

Slect your Magento Database

and run this query

UPDATE `admin_user` SET `password`=MD5(’mypassword’) WHERE `username`=’admin’;
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.