打开数据库,数据库配置文件一般在conf/sonar.properties文件中配置
在数据库中执行如下sql,将管理员admin密码重置为admin

#su postgres

#psql

postgres=# \c sonar

sonar=# update users set crypted_password = '$2a$12$uCkkXmhW5ThVK8mpBvnXOOJRLd64LJeHTeCkSuB3lfaR2N0AYBaSi',salt=null, hash_method='BCRYPT' where login = 'admin';

执行成功后,用admin/admin可登陆成功

相关文章:

  • 2021-08-10
  • 2021-10-02
  • 2022-12-23
  • 2021-04-11
  • 2021-07-17
猜你喜欢
  • 2021-12-29
  • 2021-08-17
  • 2021-06-26
  • 2021-09-29
  • 2022-02-10
  • 2021-12-14
  • 2021-12-02
相关资源
相似解决方案