我无法连接SQL服务器数据库?

时间:2016-03-07 12:52:18

标签: sql-server-2008-r2

我有SQL server 2008R2(实例名称 - SQLServer2008)和SQL server 2012(实例名称 - MSSQLSERVER2012)已安装在我的本地PC中。

我可以使用SQL 2012登录。

例如:

server Name : .\MSSQLSERVER2012
Authentication : SQL server Authentication
User name : sa
password  : test123

但同样的方式我尝试登录SQL Server 2008R2。 (我尝试使用Windows身份验证和SQL Server身份验证登录,但我无法登录。我收到了以下错误。)

例如:

server Name : .\SQLServer2008
Authentication : SQL server Authentication
User name : sa
password  : test123

ERROR:

A network-related or instance-specific errror occured while establishing a connection to sql server. The server was not found or was not accessible. Verify that the instance namme is correct and that SQL Server is configured to allow remote connections, (provider: SQL Network Interfaces, error: 25 connection string is not valid) (Microsoft SQL server, Error: 87)

0 个答案:

没有答案