|
How to Recover a Lost Joomla Username and Password |
|
We've had several people recently contact us after losing the login to their Joomla site. Often they can't remember or just don't know both the username and password. Here's how to recover if you've been locked out of your Joomla 1.5 site:
- Step 1: You will need to find access to your Joomla database. Start by going to the control panel provided by your hosting company, where you set-up email acc
ounts and so-on. The most common way offered to access the database is called "phpMyAdmin". Look for a little sailing ship logo like the one on the right.
- Step 2: Click to access your databases.
- Step 3: You'll see a list of databases on the left-hand side. Hopefully you won't see more than one, but if you do see more, look for a database with a Joomla-sounding name such as jo_151. Click on that database.
- Step 4: You'll now see a new list on the left-hand side with names such as jos_banner and jos_bannerclient. Scroll all the way to the bottom and click on jos_users.
- Step 5: Look at the top of the page and click "Browse":

- Step 6: You should a line right at the top looking like this. The number is probably going to be 62. Click on the pencil icon:

- Step 7: Write down the username.
- Step 8: Enter this into the password field: 21232f297a57a5a743894a0e4a801fc3
- Step 9: Click "Go" to save your changes.
- Step 10: You should now be able to login to your site using the username and the password "admin".
- Step 11: Go to Site >> User Manager and change your password to something that is harder to guess.
|
Comments
I then downloaded and installed jsecure plugin and that has helped too.
www.lunarhotel.co.uk/joomla/emailasusername-joomla-1.5-plugin.html
But thank you for pointing this out because Bo, I guess I could have come across a little careless after rereading my reply. I am by no means suggesting in anyway that anyone should use the same passwords for their admin and database.
I employ a pretty random yet systematic approach to cryptic password generation for all my installs and would suggest any other professional admin to find a similar method. Here is a great article for employing strong password techniques: http://www.makeuseof.com/tag/how-to-create-strong-password-that-you-can-remember-easily/
Additionally, I just recently started using the portable version of RoboForm on a flash drive that I carry around with me and have found it to be very useful for generating strong passwords and keeping up with them on the go. http://www.roboform.com/download.html
However I just had to help someone who had forgotten both admin name and password, - and domain for the email that was used for the admin account was no longer active, so only one way to gain access: phpMyadmin and using the above mentioned technique.
In the past I have used this tip to regain access to Joomla installs that unfortunately had been hacked.
IMO it should be in the bag of tricks of any Joomla admin.
var $ftp_user = 'username';
var $ftp_pass = 'password';
These variables are usually what you set for the FTP upon installation and considering most people generally use the same passwords for their sites, this variables should serve as a good reminder of what your password might be.
You can also find the database server URL, the database name and passwords as well in this file which I tend to forget more so than I do my admin passwords.
RSS feed for comments to this post