UPDATE jos_users SET password = MD5('NEWPASS') WHERE username = "admin"
UPDATE wp_users SET user_pass = MD5( 'NEWPASS' ) WHERE user_login = "admin";
UPDATE users set pass= '$S$CVrRLeIr/2RlAxZgzPyu58yXbhev5OItQNCjXMrgMq9IriUKyUe.' WHERE uid = 1;
If you had the following message:
Sorry, there have been more than 5 failed login attempts for this account. It is temporarily blocked. Try again later or request a new password.
You can :
DELETE FROM flood