【SQL Server Management Studio 连接时遇到的一个错误】
第一次用SQL Server Management Studio启动之后第一步就是要建立连接
但是不知道Server Name要填什么,看了网上的教程说是要找到下面这个注册表中对应的实例名称填上去,或者前面加localhost
但是好像都没有用,一直遇到报错如下:
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: SQL Network Interfaces, error: 25 - Connection string is not valid) (Microsoft SQL Server,错误: 87)
尝试好久都没用,最后还是看官方文档,填localhost就行了,果然官方文档才是yyds