Mambo / Joomla Password - How to Reset / Recover

By Angsuman Chakraborty, Gaea News Network
Thursday, March 2, 2006

Mambo / Joomla passwords cannot be recovered as they are set using a one-way hash function (MD5). However they can be reset to new values.

The user information is stored in the MySQL database (obviously) in the mos_users (for MAMBO) or jos_users (for JOOMLA). The prefix (mos or jos) can be configured and may be named differently for your system.

Using phpMyAdmin
In phpMyAdmin select the database for your Mambo / Joomla system on the left combo-box. Then choose the mos_users (or as appropriate) table and select browse. Click on edit icon (pencil) for the row where the username is admin.

In the password row under Function column set the function to MD5. Set the Value to your chosen password. Save it (by clicking on Go) and you are done.

Using MySQL commandline or GUI
With MySQL you can execute the following command in mysql command line or gui:
UPDATE mos_users SET password = MD5( ‘Your Password‘ ) WHERE username = ‘admin’;
Note: Change Your Password to your password (obviously).

And you are done!

Filed under: Headline News, PHP, Web, Web Services
Discussion
September 18, 2009: 10:46 am

Thanks for this helpful blog. But one suggestion is before following these tricks to reset your password once make sure to take complete backup of your database.

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :