Skip to content

Instantly share code, notes, and snippets.

@riteshgurung
Created January 25, 2023 09:02
Show Gist options
  • Save riteshgurung/3f78846db21940b80c87d10fa1842c2c to your computer and use it in GitHub Desktop.
Save riteshgurung/3f78846db21940b80c87d10fa1842c2c to your computer and use it in GitHub Desktop.

Revisions

  1. riteshgurung created this gist Jan 25, 2023.
    9 changes: 9 additions & 0 deletions sonarqube_reset.md
    Original 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'
    ```