I have developed a site in drupal 7 and forget its admin password. Now when I request for new password it sent me a link to “one time” login screen. When I click on “LOGIN” button it takes me to following page where it is stated that: “You are not authorized to access this page.”
http://somedomain.com/?q=user/1/edit&pass-reset-token=K33tsqRwVOhtt0om0H9hGa4TfUGeyQCIbvCA7qV-2tk
Its my first site in drupal and I believe I modified permissions for pages is basic cause of the problem. Is there a way I can reset permissions without loosing any data through mysql or some thing like this.
You can reset your password without being logged in to Drupal but not from MySQL alone. Check out the instructions in the documentation at https://drupal.org/node/1023428