How to reset Drupal admin password

m
m
 
Line 1: Line 1:
<seo title="How to reset Drupal admin password" metakeywords="reset Drupal admin password,change Drupal admin password,modify Drupal password,new Drupal password" metadescription="How to reset Drupal admin password" />
+
<seo title="How to reset Drupal admin password" metakeywords="reset Drupal admin password,change Drupal admin password,modify Drupal password,new Drupal password" metadescription="How to reset Drupal admin password" /><div align=justify>Let's imagine the situation when you have modified your Drupal site and logged out. Next time you are trying to log in but fail. You try to recover the password but also fail. The only way out is to reset the Drupal admin password.  
 
+
<div align=justify>Let's imagine the situation when you have modified your Drupal site and logged out. Next time you are trying to log in but fail. You try to recover the password but also fail. The only way out is to reset the Drupal admin password.  
+
 
But how exactly can you do this?  
 
But how exactly can you do this?  
  
Line 14: Line 12:
 
'''3'''. Click on the '''SQL tab''' at the top of the page. In the text field enter the following SQL query:
 
'''3'''. Click on the '''SQL tab''' at the top of the page. In the text field enter the following SQL query:
  
    ''update users set pass=md5(‘NEWPASS’) where uid = 1;''
+
''update users set pass=md5(‘NEWPASS’) where uid = 1;''
  
 
You can '''replace “NEWPASS”''' with your new Drupal administrative password.
 
You can '''replace “NEWPASS”''' with your new Drupal administrative password.

Latest revision as of 12:39, 25 January 2012

rss feed for my website