The solution for drupal7 founder root to forget his password, add drupal7root
after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); in index.php
require_once 'includes/password.inc';
echo user_hash_password('111111');
die();
Copy after login
Run to get the encrypted ciphertext, and then update the pass field of the users database table.
http://www.bkjia.com/PHPjc/948223.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/948223.htmlTechArticleThe solution for drupal7 founder root to forget the password, drupal7root is added after drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); in index.php require_once 'includes/password.inc';echo user_...