Once you forget the super administrator password, there is no way to reset it other than resetting the database. Resetting a Joomla administrator password directly in the database can be done in a few simple steps:
UPDATE #__users SET password = MD5('new_password') WHERE id = 1
Replace #__
with your database table prefix and new_password
with the desired password.
Note: If you have multiple administrator accounts, make sure to change the password for the correct account by checking the username field in the #__users table. Additionally, it’s always a good idea to create a backup of your website’s database before making any changes.