简体   繁体   English

连接到远程SQL Server

[英]Connecting to remote SQL Server

I have installed SQL Server 2005, the SQL Server instance name is SOSO , the machine name is HERO , I tried to connect from another computer using SQL Server Management Studio: 我已经安装了SQL Server 2005,SQL Server实例名称为SOSO ,计算机名称为HERO ,我尝试使用SQL Server Management Studio从另一台计算机进行连接:

Server name: HERO\SOSO
Authentication: Windows Authentication

But I didn't succeed. 但是我没有成功。

SQL Server is enabled to be connected remotely. 已启用SQL Server进行远程连接。

So what is the problem? 那是什么问题呢?

Windows Authentication uses the Active directory user from the connecting machine to authenticate with the database. Windows身份验证使用连接计算机上的Active Directory用户向数据库进行身份验证。 Does it have the right permissions to access the database? 它具有访问数据库的正确权限吗? Maybe try authenticating with a SQL Server database user first. 也许首先尝试与SQL Server数据库用户进行身份验证。 Maybe you've created a SA user on installation, try connecting with that. 也许您在安装时创建了SA用户,请尝试与其连接。

But as the other replies also tell, first check network / firewall connection and please provide us with the error message. 但正如其他答复所指出的那样,请先检查网络/防火墙连接,然后向我们提供错误消息。

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

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