Admin Login Problems

Hi, i have a 2.4 OJS installation, i forgot the admin password and the reset password is not working. How can change the user privilegies on OJS whitout admin user, i can use MySQL? I need your help.

Please check in config.inc.php do you use SHA1 or MD5 and issue this query in SQL
UPDATE users SET password=SHA1(CONCAT(username,‘newPasswordHere’)) WHERE username=‘usernameHere’;

Thanks is working now. I was reviewing the data base, and get the email account for the admin user and apply the reset option and now is working.

Thanks,

Jairo