How to re-activate the Drupal administrator account that got accidently blocked?
Open the users table and in the admin row, check the status column. 0 means blocked and 1 means active. Make sure it is set to 1.