【SQL Server Management Studio 连接时遇到的一个错误】

第一次用SQL Server Management Studio启动之后第一步就是要建立连接

但是不知道Server Name要填什么,看了网上的教程说是要找到下面这个注册表中对应的实例名称填上去,或者前面加localhost

但是好像都没有用,一直遇到报错如下:

bash 复制代码
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

相关推荐
曹牧9 分钟前
SQL:多个事务同时修改同一索引块
数据库·sql
我命由我123459 分钟前
Kotlin 开发 - lateinit 关键字
android·java·开发语言·kotlin·android studio·android-studio·android runtime
峥无10 分钟前
Linux系统编程基石:静态库·动态库·ELF文件·进程地址空间全景图
linux·运维·服务器
aXin_ya11 分钟前
微服务第八天 Sentinel 四种分布式事务模式
java·数据库·微服务
Ruci ALYS13 分钟前
MySQL大小写敏感、MySQL设置字段大小写敏感
数据库·mysql
Halo_tjn14 分钟前
Java Set集合相关知识点
java·开发语言·算法
Lee川18 分钟前
Prisma 实战指南:像搭积木一样设计古诗词数据库
前端·数据库·后端
Linsk19 分钟前
Java和JavaScript的关系真是雷峰和雷峰塔的关系吗?
java·javascript·oracle
许彰午32 分钟前
我手写了一个 Java 内存数据库(二):B+ 树的插入与分裂
java·开发语言·面试
zhouwy11333 分钟前
Java 快速入门笔记:从基础语法到 Spring Boot 实战
java