Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By haisam on
I just deleted user 1 by mistake. How do I fix this problem? I do have access to the DB.
Comments
I added user 1
I solved it this way:
INSERT INTO `users` VALUES (1,'admin','MYENCRYPTEDPASSWD','MYEMAILADDRESS',0,0,0,'','',1142527238,1170204672,1170203335,1,'0','','','MYEMAILADDRESS','a:0:{}');
THanks for the solution
THanks for the solution haisam. It worked for me on 6.x
for 6.13 needed to add a couple of columns
This is what worked for me in 6.13 - thanks for making it so easy....