This article describes how to reset the Joomla administrator password.
Unlike some other content management systems, Joomla does not permit you to reset an administrator password by e-mail. Therefore, you must manually reset the password in the database.
To change the administrator password directly in the database using phpMyAdmin, follow these steps:
UPDATE users SET password = MD5('NewPassword') WHERE username = 'admin';
UPDATE jm_users SET password = MD5('NewPassword') WHERE username = 'admin';