{"id":7654,"date":"2018-06-26T23:35:47","date_gmt":"2018-06-26T15:35:47","guid":{"rendered":"http:\/\/rmohan.com\/?p=7654"},"modified":"2018-06-26T23:35:47","modified_gmt":"2018-06-26T15:35:47","slug":"reset-sonarqube-admin-user-password","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=7654","title":{"rendered":"Reset SonarQube Admin User Password"},"content":{"rendered":"<div class=\"post-header\">\n<h1 class=\"post-title font-alt\">Reset SonarQube Admin User Password<\/h1>\n<\/div>\n<p>by default sonar creates admin account : user: admin, password : admin<\/p>\n<div class=\"post-entry\">\n<p>Start root access to mysql database<\/p>\n<pre class=\"language-bash code-toolbar\"><code class=\" language-bash\">mysql -uroot -p\r\n<\/code><\/pre>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\"><a>Copy<\/a><\/div>\n<div class=\"toolbar-item\">Bash<\/div>\n<\/div>\n<p>Check if sonar database exists.<\/p>\n<pre class=\"language-sql code-toolbar\"><code class=\" language-sql\">show databases;\r\n<\/code><\/pre>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\"><a>Copy<\/a><\/div>\n<div class=\"toolbar-item\">SQL<\/div>\n<\/div>\n<pre class=\"language-sql code-toolbar\"><code class=\" language-sql\">use sonar;\r\n<\/code><\/pre>\n<div class=\"toolbar\">\n<div class=\"toolbar-item\"><a>Copy<\/a><\/div>\n<div class=\"toolbar-item\">SQL<\/div>\n<\/div>\n<p>Reset admin user to admin password.<\/p>\n<pre class=\"language-sql code-toolbar\"><code class=\" language-sql\">update users set crypted_password = '88c991e39bb88b94178123a849606905ebf440f5', salt='6522f3c5007ae910ad690bb1bdbf264a34884c6d' where login = 'admin';\r\n<\/code><\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p> Reset SonarQube Admin User Password <\/p>\n<p>by default sonar creates admin account : user: admin, password : admin<\/p>\n<p>Start root access to mysql database<\/p>\n<p> mysql -uroot -p Copy Bash <\/p>\n<p>Check if sonar database exists.<\/p>\n<p> show databases; Copy SQL use sonar; Copy SQL <\/p>\n<p>Reset admin user to admin password.<\/p>\n<p> update users set crypted_password = &#8217;88c991e39bb88b94178123a849606905ebf440f5&#8242;, salt=&#8217;6522f3c5007ae910ad690bb1bdbf264a34884c6d&#8217; [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7654"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7654"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7654\/revisions"}],"predecessor-version":[{"id":7655,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/7654\/revisions\/7655"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7654"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=7654"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=7654"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}