Retrieve a password from SQL

SVA 116 Reputation points
2023-10-30T11:41:55.2166667+00:00

How to retrieve a password from SQL

SQL Server Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. RahulRandive 10,486 Reputation points Volunteer Moderator
    2023-10-30T13:07:25.8266667+00:00

    Hi @SVA

    Even Microsoft does not have access to previous passwords and the server admin cannot retrieve them. If you've forgotten the password for the Server Admin, you can reset.

    Found a blog on how to recover SA password by starting SQL Server in single user mode when you forget “sa” credentials or lose the access https://www.sqlshack.com/recover-lost-sa-password/

    Thank you!

    1 person found this answer helpful.
    0 comments No comments

  2. Olaf Helper 47,436 Reputation points
    2023-10-30T11:55:54.1+00:00

    SQL Server don't store passwords in clear text, so you can't get the pwd.

    Ask the DBA to reset the password.

    0 comments No comments

  3. Anonymous
    2023-10-31T01:50:12.6066667+00:00

    Hi @SVA

    Can you describe the background?

    What is the authentication mode and the level of access you have?

    If you forgot the password, you can refer to Rahul's link.

    Best regards,

    Percy Tang

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.