Drupal Restore Administrator account

205 views
asked Jan 20, 2013 in Website Builder by DruNew (1,930 points)
Hi
I have accidentally deleted the original Drupal Administrator accounts. Is there any way to restore my original Drupal Administrator account?
Your assistant is highly appreciate it
Many thanks

1 Answer

0 like 0 dislike
answered Jan 20, 2013 by randy999 (4,520 points)
create a new user account with a user name and password of your choice. Now to turn this user to an administrator user  go to the "users"  database table and from there go to  the UID of the new user account that you just created and change it to "1"
...