简体   繁体   English

如何确定Microsoft SQL Server 2008 R2的实例

[英]How can i determine the instance of my Microsoft SQL Server 2008 R2

This is my 1st time setting up SQL Server 2008 R2. 这是我第一次设置SQL Server 2008 R2。 how could i identify what "Server Name" should i use? 我如何确定我应该使用什么“服务器名称”? I tried the default instance (local) and "." 我尝试了默认实例(本地)和“。” but still it doesn't work. 但仍然不起作用。 I also tried search on how to get the list of instance but most of the result are for SQL Server 2008 R2 Express. 我还尝试搜索如何获取实例列表,但大多数结果是针对SQL Server 2008 R2 Express的。 I'm not sure if they are similar. 我不确定它们是否相似。 Also check the SQL Server Configuration Manager > SQL Serve Services but there are no items to shown. 还要检查“ SQL Server配置管理器”>“ SQL服务服务”,但没有要显示的项目。

Note: I'm not the one who installed the software. 注意:我不是安装该软件的人。

You can launch the services dialog (run services.msc from the command line, or find Administrative Tools > View Local Services in the control panel). 您可以启动服务对话框(从命令行运行services.msc ,或在控制面板中找到Administrative Tools > View Local Services )。

Find the SQL Server service - it contains the instance name in brackets. 查找SQL Server服务-它在括号中包含实例名称。

If you have SQL Server (MSSQLSERVER) , then you're running a default (unnamed) instance - connect to it with your machine name or (local) or . 如果您拥有SQL Server (MSSQLSERVER) ,则您正在运行默认的(未命名)实例-使用您的计算机名称或(local)或连接到它. .

If there's something else other than MSSQLSERVER in the brackets, use that instance name to connect to your server: use .\\INSTANCE or (local)\\INSTANCE as your server name 如果括号中有MSSQLSERVER以外的其他内容,请使用该实例名称连接到服务器:使用.\\INSTANCE(local)\\INSTANCE作为服务器名称

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

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