简体   繁体   English

没有由SQL Server 2008 R2创建的实例

[英]No instance created by SQL Server 2008 R2

I have a problem with SQL Server 2008 R2, when I try to connect to server it gives me the following message: 我在尝试连接到服务器时遇到SQL Server 2008 R2问题,它显示以下消息:

TITLE: Connect to Server 标题:连接到服务器

Cannot connect to (local). 无法连接到(本地)。

ADDITIONAL INFORMATION: 附加信息:

A network-related or instance-specific error occurred while establishing a connection to SQL Server. 建立与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. 验证实例名称正确,并且已将SQL Server配置为允许远程连接。 (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) (提供者:命名管道提供程序,错误:40-无法打开与SQL Server的连接)
(Microsoft SQL Server, Error: 2) (Microsoft SQL Server,错误:2)

I found a couple of solutions for this, one of which told me to go the configuration manager and check the instance created by SQL Server. 我找到了一些解决方案,其中一个告诉我去配置管理器并检查SQL Server创建的实例。 There was none. 没有。 I found only this: 我只发现了这一点:

在此处输入图片说明

I need to learn SQL Server for a job, and I don't know what to do. 我需要学习SQL Server才能完成工作,但不知道该怎么办。

-- UPDATE -- -更新-

I reinstalled SQL Server 2008 and some errors might have something to do with my issue.. 我重新安装了SQL Server 2008,并且某些错误可能与我的问题有关。

errors in reinstalling 重新安装中的错误

note: the first time I installed I was basically clueless, I might had the same errors before and I simply didn't notice.. 注意:第一次安装时,我基本上是一无所知,以前我可能有相同的错误,但是我根本没有注意到。

You need to install SQL server and SQL Server studio management tool. 您需要安装SQL Server和SQL Server Studio管理工具。 Seems you are trying to install SQL Server 2008. 似乎您正在尝试安装SQL Server 2008。

If you have windows 8.1 and upwards you can install the newer version of MSSQL which comes with Management studio. 如果您使用的是Windows 8.1及更高版本,则可以安装Management Studio随附的更新版本的MSSQL。 https://www.microsoft.com/en-us/sql-server/sql-server-downloads . https://www.microsoft.com/zh-cn/sql-server/sql-server-downloads

This seems you only install SQL Server Management studio not whole SQL Server DBMS so you need to install SQL Server and then try again.To check that SQL Server is installed on my PC or not You can follow these Steps 看来您只安装了SQL Server Management Studio,而不是整个SQL Server DBMS,因此您需要先安装SQL Server,然后重试。要检查我的PC上是否已安装SQL Server,可以按照以下步骤操作

1.In Window Run Type `services.msc` 
2.Check that SQL Server Service is present or not
3.If Present Then Check in Running Mode or not.
4.if not here still SQL Server is not installed

Hope this helps you 希望这对您有帮助

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

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