{"id":1161,"date":"2016-01-13T12:52:02","date_gmt":"2016-01-13T09:52:02","guid":{"rendered":"https:\/\/sobbayi.com\/?p=1161"},"modified":"2016-01-13T12:52:02","modified_gmt":"2016-01-13T09:52:02","slug":"absolute-last-resort-to-resetting-a-forgotten-joomla-password","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/","title":{"rendered":"Absolute Last Resort to Resetting a Forgotten Joomla Password"},"content":{"rendered":"

We all go through situations where our memory gets the best of us and forgetting your Joomla<\/a> password is just one typical situation. In this case, you are forced to use the forgot your password link provided by the CMS<\/a>.<\/p>\n

You then find situations where that link may not be as effective as originally anticipated in the event when the user has forgotten their passwords.<\/p>\n

It gets worse when that person happens to be a client who cannot remember their password and email address. With all honesty, this is probably the most common scenario.<\/p>\n

So How Would you Recover a Lost Joomla Password?<\/h2>\n

As an administrator, you definitely have access to the raw MySQL<\/a> database where Joomla stores its data. This is the key to you being able to do some Joomla password recovery. This access may either be accessible via phpMyAdmin, the popular MySQL database<\/a> administration interface or Using another third party Gui client such as SQLYog or MySQL Bench.<\/p>\n

The other method is to use the MySQL command-line client. Whichever method you choose, this guide will show you how to pick the best solution.<\/p>\n

Using MySQL command-line or raw SQL Queries<\/h2>\n

Prior to Joomla 3.x passwords were stored in the database in the format $password MD5 hash, colon then random salt which gives you a string 65 characters long. This would look something like this:<\/p>\n

d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199<\/em><\/p>\n

So basically to get a string such as the one above you would run the following:<\/p>\n

md5(your_password + salt) + “:” + salt<\/em><\/p>\n

So all you need to do is get into the database and get the password string and copy out the salt section and append it to the password and run it as the input into the md5() function then concatenate that to a colon and finally the hash at the end.<\/p>\n

There is also another simpler tick. The internal functions of Joomla allow you to still set a password without the salt. So simply running md5(your_password) will still work.<\/p>\n

Now, md5 is not a Cryptographically secure hashing algorithm but it works well in resetting the password which the user can use to log into the admin area and then use the Joomla interface to change it immediately.<\/p>\n

You can use the following query to reset your Joomla password using a MySQL command-line client.<\/p>\n

UPDATE `jos_users` SET `password` = MD5('new_password') WHERE `jos_users`.`username` = \"current_user\" ;<\/pre>\n

Where:<\/p>\n

“jos_users”<\/strong> would be the actual name of your users’ table. the prefix “jos_” is different depending on the installation.
\n“new_password”<\/strong> should be replaced with the new password you wish to use.
\n“current_user”<\/strong> is the affected username that needs the password changed.<\/p>\n

If you are using a GUI MySQL client then you can simply open the table, navigate to the respective row then replace the password string with this one:<\/p>\n

d2064d358136996bd22421584a7cb33e:trd7TvKHx6dMeoMmBVxYmg0vuXEA4199<\/em><\/p>\n

The string is actually for the password secret.<\/p>\n

You can then go in and log into Joomla using your_username and secret as the password.<\/p>\n

The above method works for current versions of Joomla as well.<\/p>\n

Versions of Joomla above 3.x use Bcrypt as the password hashing algorithm but seeing the above methods will work, we want to keep things simple. The most important thing here is to remember to change the password at the next sign in and let the CMS hash the password using its internal strongest algorithm depending on the Joomla version.<\/p>\n

For further reading check out this WordPress guide on how to disable Multiple post revisions<\/a>.<\/p>\n

References:<\/p>\n

https:\/\/www.phpmyadmin.net\/<\/a> Official phpMyAdmin website
\n
https:\/\/www.webyog.com\/<\/a> – SQLYog Official Website
\n
https:\/\/www.mysql.com\/<\/a> Official MySQL Website
\n
https:\/\/docs.joomla.org\/<\/a> Joomla! Documentation<\/p>\n","protected":false},"excerpt":{"rendered":"

We all go through situations where our memory gets the best of us and forgetting your Joomla password is just one typical situation. In this case, you are forced to…<\/p>\n","protected":false},"author":1,"featured_media":2496,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,23,16,20],"tags":[136,331,393,544,636,638],"yoast_head":"\nJoomla Password Recovery Easy Tips as a Last Resort<\/title>\n<meta name=\"description\" content=\"Here we explain the most basic methods for lost Joomla password recovery using MySQL commandline client or GUI clients such as SQLYog or phpMyAdmin\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Joomla Password Recovery Easy Tips as a Last Resort\" \/>\n<meta property=\"og:description\" content=\"Here we explain the most basic methods for lost Joomla password recovery using MySQL commandline client or GUI clients such as SQLYog or phpMyAdmin\" \/>\n<meta property=\"og:url\" content=\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\" \/>\n<meta property=\"og:site_name\" content=\"Brightwhiz.com\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/brightwhiz\/\" \/>\n<meta property=\"article:published_time\" content=\"2016-01-13T09:52:02+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Michael Bright\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:site\" content=\"@brightwhizmag\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Michael Bright\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#article\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\"},\"author\":{\"name\":\"Michael Bright\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\"},\"headline\":\"Absolute Last Resort to Resetting a Forgotten Joomla Password\",\"datePublished\":\"2016-01-13T09:52:02+00:00\",\"dateModified\":\"2016-01-13T09:52:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\"},\"wordCount\":623,\"commentCount\":0,\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg\",\"keywords\":[\"CMS\",\"Joomla\",\"MySQL\",\"Software development\",\"Web Applications\",\"Web Development\"],\"articleSection\":[\"Articles\",\"Guides\",\"Technology\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\",\"url\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\",\"name\":\"Joomla Password Recovery Easy Tips as a Last Resort\",\"isPartOf\":{\"@id\":\"http:\/\/local.brightwhiz\/#website\"},\"primaryImageOfPage\":{\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg\",\"datePublished\":\"2016-01-13T09:52:02+00:00\",\"dateModified\":\"2016-01-13T09:52:02+00:00\",\"description\":\"Here we explain the most basic methods for lost Joomla password recovery using MySQL commandline client or GUI clients such as SQLYog or phpMyAdmin\",\"breadcrumb\":{\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Joomla Password Recovery\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\/\/local.brightwhiz\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Absolute Last Resort to Resetting a Forgotten Joomla Password\"}]},{\"@type\":\"WebSite\",\"@id\":\"http:\/\/local.brightwhiz\/#website\",\"url\":\"http:\/\/local.brightwhiz\/\",\"name\":\"Brightwhiz.com\",\"description\":\"Best Tech guides, Tutorials, and News\",\"publisher\":{\"@id\":\"http:\/\/local.brightwhiz\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"http:\/\/local.brightwhiz\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"http:\/\/local.brightwhiz\/#organization\",\"name\":\"Brightwhiz\",\"url\":\"http:\/\/local.brightwhiz\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"contentUrl\":\"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png\",\"width\":706,\"height\":135,\"caption\":\"Brightwhiz\"},\"image\":{\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/brightwhiz\/\",\"https:\/\/x.com\/brightwhizmag\",\"https:\/\/instagram.com\/bright_whiz\/\",\"https:\/\/www.pinterest.com\/sobbayi\/\",\"https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ\"]},{\"@type\":\"Person\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32\",\"name\":\"Michael Bright\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/\",\"url\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"contentUrl\":\"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g\",\"caption\":\"Michael Bright\"},\"sameAs\":[\"https:\/\/sobbayi.com\"],\"url\":\"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Joomla Password Recovery Easy Tips as a Last Resort","description":"Here we explain the most basic methods for lost Joomla password recovery using MySQL commandline client or GUI clients such as SQLYog or phpMyAdmin","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/","og_locale":"en_US","og_type":"article","og_title":"Joomla Password Recovery Easy Tips as a Last Resort","og_description":"Here we explain the most basic methods for lost Joomla password recovery using MySQL commandline client or GUI clients such as SQLYog or phpMyAdmin","og_url":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/","og_site_name":"Brightwhiz.com","article_publisher":"https:\/\/www.facebook.com\/brightwhiz\/","article_published_time":"2016-01-13T09:52:02+00:00","og_image":[{"width":1200,"height":630,"url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg","type":"image\/jpeg"}],"author":"Michael Bright","twitter_card":"summary_large_image","twitter_creator":"@brightwhizmag","twitter_site":"@brightwhizmag","twitter_misc":{"Written by":"Michael Bright","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#article","isPartOf":{"@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/"},"author":{"name":"Michael Bright","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32"},"headline":"Absolute Last Resort to Resetting a Forgotten Joomla Password","datePublished":"2016-01-13T09:52:02+00:00","dateModified":"2016-01-13T09:52:02+00:00","mainEntityOfPage":{"@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/"},"wordCount":623,"commentCount":0,"publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"image":{"@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg","keywords":["CMS","Joomla","MySQL","Software development","Web Applications","Web Development"],"articleSection":["Articles","Guides","Technology","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#respond"]}]},{"@type":"WebPage","@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/","url":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/","name":"Joomla Password Recovery Easy Tips as a Last Resort","isPartOf":{"@id":"http:\/\/local.brightwhiz\/#website"},"primaryImageOfPage":{"@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage"},"image":{"@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage"},"thumbnailUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg","datePublished":"2016-01-13T09:52:02+00:00","dateModified":"2016-01-13T09:52:02+00:00","description":"Here we explain the most basic methods for lost Joomla password recovery using MySQL commandline client or GUI clients such as SQLYog or phpMyAdmin","breadcrumb":{"@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#primaryimage","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2016\/01\/joomla-password-recovery-no.jpg","width":1200,"height":630,"caption":"Joomla Password Recovery"},{"@type":"BreadcrumbList","@id":"http:\/\/local.brightwhiz\/absolute-last-resort-to-resetting-a-forgotten-joomla-password\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"http:\/\/local.brightwhiz\/"},{"@type":"ListItem","position":2,"name":"Absolute Last Resort to Resetting a Forgotten Joomla Password"}]},{"@type":"WebSite","@id":"http:\/\/local.brightwhiz\/#website","url":"http:\/\/local.brightwhiz\/","name":"Brightwhiz.com","description":"Best Tech guides, Tutorials, and News","publisher":{"@id":"http:\/\/local.brightwhiz\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"http:\/\/local.brightwhiz\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"http:\/\/local.brightwhiz\/#organization","name":"Brightwhiz","url":"http:\/\/local.brightwhiz\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/","url":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","contentUrl":"http:\/\/local.brightwhiz\/wp-content\/uploads\/2021\/11\/brightwhiz-com-logo-orange.png","width":706,"height":135,"caption":"Brightwhiz"},"image":{"@id":"http:\/\/local.brightwhiz\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/brightwhiz\/","https:\/\/x.com\/brightwhizmag","https:\/\/instagram.com\/bright_whiz\/","https:\/\/www.pinterest.com\/sobbayi\/","https:\/\/www.youtube.com\/channel\/UC6sCdP_d_RiTIM7ErFT-PSQ"]},{"@type":"Person","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/81f0f3126f13834ae2e7f381b3028e32","name":"Michael Bright","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"http:\/\/local.brightwhiz\/#\/schema\/person\/image\/","url":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","contentUrl":"http:\/\/1.gravatar.com\/avatar\/da90485875ff0aafa38fdd494abe87d1?s=96&d=mm&r=g","caption":"Michael Bright"},"sameAs":["https:\/\/sobbayi.com"],"url":"http:\/\/local.brightwhiz\/author\/sobbayiadmin\/"}]}},"_links":{"self":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/1161"}],"collection":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/comments?post=1161"}],"version-history":[{"count":0,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/posts\/1161\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media\/2496"}],"wp:attachment":[{"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/media?parent=1161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/categories?post=1161"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/local.brightwhiz\/wp-json\/wp\/v2\/tags?post=1161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}