login failed for user sa at SQL Server 2008 R2

前端 未结 1 1112
暖寄归人
暖寄归人 2021-01-17 17:14

After upgrading to Service Pack 1, sometimes i got failed to login my server

\"enter<

相关标签:
1条回答
  • 2021-01-17 17:34

    Although my below snaps mention SQL Server 2008/express I would suggest to check for the below points.

    • Check whether you need to put the local computer name prefix before your DB name

      DB name

    • If you connect using Windows authentication with the account you've created when you create your DB instance you can troubleshoot with right click database --> Database properties and select the below security option.

      SQL Authentication mode

    • Check sa login under security option by double clicking. You can change the password if required as below.

    • Also if you see USER MAPPING option on the same properties view, check it and makesure sa is checked into the database you want to login.

      Login Properties

      • Restart the SQL Server service (Shortcut: Winkey + R then services.msc)

      Restart SQL

      • Try to login again and good luck!
    0 讨论(0)
提交回复
热议问题