Azure Data Studio无法连接本地Cosmos DB NoSQL实例问题求助
Azure Data Studio无法连接本地Cosmos DB NoSQL实例问题求助
大家好,我遇到了一个Azure Data Studio连接本地Cosmos DB模拟器的问题,想请教下有没有朋友碰到过类似情况?
我目前可以通过两种方式正常连接本地Azure Cosmos DB模拟器:
- 默认浏览器的数据资源管理器
- VS Code的Azure Databases扩展
但尝试用Azure Data Studio连接时就出问题了,我的连接设置如下:
- 连接类型:
Cosmos DB No Sql - 连接字符串:
AccountEndpoint=https://localhost:8081/;AccountKey=.......
特别说明一下,我并没有勾选“Mongo account”选项,但还是收到了如下错误提示,无法完成连接:
Failed to parse the connection string. Invalid scheme, expected connection string to start with "mongodb://" or "mongodb+srv://"
我已经在谷歌上搜了好一阵子,没找到能解决这个问题的方案,搜到的大部分示例都是针对CosmosDB for MongoDB的,和我的情况不匹配。
有没有朋友能给我点思路或者解决方案?谢谢大家!
备注:内容来源于stack exchange,提问作者MedEzz
相关产品推荐
相关产品推荐

