Skip to main content
removed "Drupal" from the title; removed tags from the title
Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

Resetting admin user details on drupal 8

deleted 22 characters in body; edited tags
Source Link
No Sssweat
  • 31.6k
  • 14
  • 55
  • 91

I forgot my drupal admin password and tried resetting it using forgot password option, but it fails to work( does not send the mail). 

Drupal 8 is installed on my localhost. I tried manually editing the users table in the database, so iI deleted the user with uid 1(admin). and also deleted corresponding data for uid 1 from users_field_data table. 

I am unable to figure out the value to be inserted for uuid in users table. I tried giving 1 for uid, my_name for uuid and md5(password), but the login fails. uuid seems to be encrypted somehow and i can't figure how. Also

Also, I am using wamp, so I haven't tried using drush or drupal console for version 8.
I

I found two relevant answers on topics " Insert “uuid” in “users” and Is there a good and recent documentation on the UUID API in Drupal 8 core? ", but not of much help.
Can someone please help? Thanks!

I forgot my drupal admin password and tried resetting it using forgot password option but it fails to work( does not send the mail). Drupal 8 is installed on my localhost. I tried manually editing the users table in the database, so i deleted the user with uid 1(admin). and also deleted corresponding data for uid 1 from users_field_data table. I am unable to figure out the value to be inserted for uuid in users table. I tried giving 1 for uid, my_name for uuid and md5(password) but the login fails. uuid seems to be encrypted somehow and i can't figure how. Also I am using wamp, so I haven't tried using drush or drupal console for version 8.
I found two relevant answers on topics " Insert “uuid” in “users” and Is there a good and recent documentation on the UUID API in Drupal 8 core? ", but not of much help.
Can someone please help? Thanks!

I forgot my drupal admin password and tried resetting it using forgot password option, but it fails to work( does not send the mail). 

Drupal 8 is installed on my localhost. I tried manually editing the users table in the database, so I deleted the user with uid 1(admin) and also deleted corresponding data for uid 1 from users_field_data table. 

I am unable to figure out the value to be inserted for uuid in users table. I tried giving 1 for uid, my_name for uuid and md5(password), but the login fails. uuid seems to be encrypted somehow and i can't figure how.

Also, I am using wamp, so I haven't tried using drush or drupal console for version 8.

I found two relevant answers on topics " Insert “uuid” in “users” and Is there a good and recent documentation on the UUID API in Drupal 8 core? ", but not of much help.

Source Link

Resetting admin user details on drupal 8

I forgot my drupal admin password and tried resetting it using forgot password option but it fails to work( does not send the mail). Drupal 8 is installed on my localhost. I tried manually editing the users table in the database, so i deleted the user with uid 1(admin). and also deleted corresponding data for uid 1 from users_field_data table. I am unable to figure out the value to be inserted for uuid in users table. I tried giving 1 for uid, my_name for uuid and md5(password) but the login fails. uuid seems to be encrypted somehow and i can't figure how. Also I am using wamp, so I haven't tried using drush or drupal console for version 8.
I found two relevant answers on topics " Insert “uuid” in “users” and Is there a good and recent documentation on the UUID API in Drupal 8 core? ", but not of much help.
Can someone please help? Thanks!