如何在sql server 2012中找到服务器名称 [英] How to locate a server name in sql server 2012

查看:602
本文介绍了如何在sql server 2012中找到服务器名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚在笔记本电脑上安装了sql server 2012,运行Windows 8.1,点击连接后出现以下错误。



网络相关或实例建立与SQL Server的连接时发生特定错误。服务器未找到或无法访问。验证实例名称是否正确,以及SQL Server是否配置为允许远程连接。 (提供者:命名管道提供程序,错误:40 - 无法打开与SQL Server的连接)(Microsoft SQL Server,错误:2)





在这个例子中,我使用我的计算机名作为服务器名。

I have just installed sql server 2012 on my laptop, running windows 8.1, I am getting the following error after clicking connect.

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: 2)


In this instance I have used my computer name as server name.

推荐答案

你可以使用SQL Server实例:如何在网络中枚举SQL Server实例 [ ^ ] - 它还检测到SQL Server实例本地计算机;)
You can enumarate SQL Server instances: How to enum SQL Server instances in network[^] - it also detects SQL Server instances on local computer ;)


尝试使用computerName \ computerList作为服务器名称。
Try computerName\computerName for the server name.


这篇关于如何在sql server 2012中找到服务器名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆