Windows域更改导致sql2005登录失败

发布于 2024-07-09 05:06:15 字数 234 浏览 2 评论 0原文

我的公司将域从 abc 更改为 xyz,现在我无法通过 Windows 登录或 sql 登录登录本地 sql2005。

两次登录都给了我这个错误:建立与服务器的连接时发生错误。 等等等等...Sql 服务器不允许远程连接。 错误:26 - 定位指定的服务器/实例时出错。

我检查服务器实例正在运行。 我可以理解 windows 登录失败,但是 sql 登录怎么会失败呢? 有谁知道如何解决这一问题?

My company change the domain from abc to xyz and now i can't log into my local sql2005 via Windows login nor sql login.

both login gave me this error: An error has occured while establishing a connection to the server. blah blah blah...Sql server does not allow remote connection. Error:26 - Error locating Server/Instance specified.

i check the server instance is running. i can understand the windows login fail but how can sql login fail as well? does anyone know how to fix this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

太阳男子 2024-07-16 05:06:15

这很奇怪,但我找到了解决方案。 我选择要连接的数据库,该数据库与登录屏幕上的实例相同,然后使用 sql 身份验证。 我能够登录。原来我的工作站已重命名。 这就是为什么它找不到服务器实例。

It's weird but i find the solution. I select the database that i want to connect to which is the same instance on the login screen then using the sql authentication. i was able to login in. It turn out the my work station was renamed. that's why it can't find the server instance.

别挽留 2024-07-16 05:06:15

您使用什么服务器名称? 如果您使用的是 (local)、localhost 或 . - 那么您可能需要将服务器更改为 NEWDOMAIN\HOSTNAME 或 hostname.newdomain.com。

What server name are you using? If you're using anything other than (local), localhost, or . - then you probably need to change the server to NEWDOMAIN\HOSTNAME or hostname.newdomain.com.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文