Blocked access to drupal...

Hi,

I  played with my drupal site , and somehow i blocked myself as a admin... since when i cant access to my site as admin, and i cant make any changes... how to access to my site as admin ? thanks for help in advance

Saul

darren's picture

If you have Drush installed,

If you have Drush installed, try this from the command line:

    drush user-login

If it's Drupal 6 you can reset the password by directly updating the database record for UID 1.