gpt4 book ai didi

sql-server - 无法连接到本地 SQL Server Express 2008 R2

转载 作者:行者123 更新时间:2023-12-01 18:55:11 25 4
gpt4 key购买 nike

我刚刚安装了 SQL Server Express 2008 R2,但在使用 SQL Server Management Studio(本地)连接到它时遇到问题。

所有 SQL Server 服务均已启动(SQL Server (SQLEXPRESS)、SQL Server 浏览器以及 DTC 服务)

当我尝试连接时,我收到以下消息:

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. 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)

最佳答案

您是否正在连接到本地 Express 实例?尝试将其作为您的服务器:.\SQLEXPRESS

关于sql-server - 无法连接到本地 SQL Server Express 2008 R2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6001970/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com