Created
January 25, 2023 09:02
-
-
Save riteshgurung/3f78846db21940b80c87d10fa1842c2c to your computer and use it in GitHub Desktop.
Revisions
-
riteshgurung created this gist
Jan 25, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ # If you ever lost the sonarqube admin password, here is an easy hack to reset it. ## Run the following query ``` update users set crypted_password = '$2a$12$uCkkXmhW5ThVK8mpBvnXOOJRLd64LJeHTeCkSuB3lfaR2N0AYBaSi', salt=null, hash_method='BCRYPT' where login = 'admin' ```