I was just handed a site that some other people who no longer work with us had setup. We have a few logins for the Drupal install but none are administrative ones. Is there any way I can figure out what the admin login/pass is by accessing the MySQL database or something? Or maybe create a new one?

Comments

Smath’s picture

Hi there

If you can get onto the MySQL DB then perhaps try this http://drupal.org/node/68286
That post is for drupal 4.7 so maybe just make sure that nothing has changed between versions in the db (I'm not sure myself).

It says:

UPDATE `users` SET `pass` = MD5('mynewpassword') WHERE `uid` =1 LIMIT 1;

josesanmartin’s picture

Or.... you can change uid=1's mail and then ask for a password reminder.

José San Martin
http://www.verinco.com/

José San Martin
http://www.chuva-inc.com/