TeamCity forgotten admin password - where to look?

后端 未结 19 1288
情书的邮戳
情书的邮戳 2020-12-23 11:19

I need to recover/reset the admin password for JetBrain\'s TeamCity.

I have full RDP access to the server so no problems there. It\'s just been 2 mo

19条回答
  •  孤城傲影
    2020-12-23 11:31

    With TeamCity 5 using MySQL (probably other versions and RDBMs as well, but untested), it's possible to update the password directly via SQL:

    mysql> update users set password = md5("mypass123") where username = "bob";
    

    Nevertheless, I'd stick with the CLI versions already mentioned by others if there isn't a good reason not to do so.

提交回复
热议问题