Jump to content

How to Recover Your Joomla Admin Password

0
  adfm's Photo
Posted Mar 24 2010 01:30 PM

I don't know how to break this to you. You probably should have read this when it came around the first time. Here's a link to cheer you up. If this is your first time reading this, then you're in luck! This excerpt from Ron Severdia & Kenneth Crowder's Using Joomla will show you what to do to recover your Joomla Admin password.


We hope that you’re reading this to learn how to reset your admin password in case you forget it and not because you already did. Technically, there is no way to actually “recover” the administrator password since passwords in Joomla are encrypted using a “salted” MD5 hash before they are saved in the database. However, there are two ways to reset your admin password—the easy way and the hard way.

The Easy Way

Open your browser and navigate to http://www..com/index.php?option=com_user&view=reset.

Enter your email address and click Submit. Joomla will send you an email containing a special code called a token. The token will confirm that you are the owner of the account. Using the token, you will be able to reset your password.

The Hard Way

Resetting your password the hard way has a bigger potential to break things, but this is your only option if the easy way doesn’t work. It requires a higher level of technical expertise:

  1. Log in to your web-hosting control panel. This might be cpanel, but if you don’t know what it is, you should contact your hosting provider.

  2. Find and open phpMyAdmin, the tool for managing MySQL databases.

We are going to execute some variation of the following SQL against your users table. Before blindly executing the SQL, please read the explanations of fields you may need to change:

UPDATE jos_users SET password=MD5('usingjoomlabook.com') WHERE username='admin';
jos_users

If you have chosen not to use the default database prefix, you will want to change jos_ to whatever that prefix is.

admin

We’ll assume that you are trying to reset the password for admin, however, you may not be. This field should be changed to whatever username you wish to reset.

usingjoomlabook.com

Of course, you’re free to substitute usingjoomlabook.com for whatever password you want.

That’s it. You should now be able log in to your Administrator Backend using the username and password you entered into the MySQL database.

Using Joomla

Learn more about this topic from Using Joomla.

With Joomla, you don't need to have any technical expertise or web design experience to create effective websites and web apps. Whether you're creating your first website or building a multi-function site for a client, this book provides straightforward, hands-on instruction that makes it easy to learn this open source web content management system.

See what you'll learn


Tags:
0 Subscribe


0 Replies