我在电脑上安装了 Microsoft SQL Server 2016 Management Studio,当我尝试连接到服务器时,它显示此错误:
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (Microsoft SQL Server, Error: 53)
我不知道服务器名称应该是什么。如何连接到服务器?
最佳答案
在命令提示符中运行命令 SQLCMD -L,您将看到可用的服务器名称。 如果您需要其他资源,请查看此答案: https://dba.stackexchange.com/questions/44171/find-all-version-of-sql-server-on-a-network
关于sql-server - SQL Server 2016 上的服务器名称,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40599585/