简体   繁体   English

如何在SQL Server 2008 R2中更改登录详细信息?

[英]How to change login details in SQL Server 2008 R2?

Firstly I have installed SQL Server 2008 R2 and configured to use windows authentication mode. 首先,我已经安装了SQL Server 2008 R2并配置为使用Windows身份验证模式。 I have changed my computer name and Network domain. 我已经更改了计算机名称和网络域。 After changing the computer name I can't access the database with the new user. 更改计算机名称后,我无法使用新用户访问数据库。 It displays an error that says 它显示一个错误,指出

cannot connect to elias-laptop\\sqlexpress. 无法连接到elias-laptop \\ sqlexpress。

The operating system I am using is Windows XP. 我使用的操作系统是Windows XP。 How can I regain access to the database? 如何重新获得对数据库的访问?

Try this: MSDN Blogs > Raul Garcia's blog > Disaster Recovery: What to when the SA account password is lost in SQL Server 2005 试试这个:MSDN博客> Raul Garcia的博客> 灾难恢复:当SQL Server 2005中SA帐户密码丢失时该怎么办

In the comments section Raul Garcia says "This feature was introduced in SQL Server 2005, and it works for SQL Server 2005, 2008 & 2008R2." 在评论部分,劳尔·加西亚(Raul Garcia)说:“此功能在SQL Server 2005中引入,并且适用于SQL Server 2005、2008和2008R2。”

This has screen pictures: Gert Van Gorp > How to recover SA password on Microsoft SQL Server 2008 R2 . 它具有屏幕截图:Gert Van Gorp> 如何在Microsoft SQL Server 2008 R2上恢复SA密码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM