Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我不久前在我的机器上设置了 Sql Server 2008。
我尝试与 Management Studio 连接并得到用户登录失败的错误。
自从我设置它以来已经很长时间了,我不记得凭据了。
如何重置凭据以使其正常工作,还是必须卸载并重新安装?
使用 Windows 身份验证登录 SQL Server。
在对象资源管理器中,打开 Security 文件夹,打开 Logins 文件夹。右键单击 SA 帐户并转到属性。 更改 SA 密码并确认。单击确定。
通过使用 SA 登录名和新密码登录系统,重新启动 SQL Server 及其所有服务并测试新密码。
说明链接