cosmos db模拟器的用户名和密码是什么 [英] what is the username and password for the cosmos db emulator

查看:86
本文介绍了cosmos db模拟器的用户名和密码是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试将一堆JSON文件导入cosmos db仿真器,即localhost.我想尝试使用DocumentDB数据迁移工具来做到这一点. 在任何人说该工具不适用于cosmos db之前.根据Microsoft的说法,它应该起作用: https://docs.microsoft .com/en-us/azure/cosmos-db/import-data

I try to import a bunch of JSON files into cosmos db emulator, so localhost. Ik try to do this using the DocumentDB Data Migration Tool. Before anyone says that the tool is not working for cosmos db. According to Microsoft it should work: https://docs.microsoft.com/en-us/azure/cosmos-db/import-data

但是我的问题是我无法连接到本地仿真器.我尝试了Googling,但找不到适合该工具的正确连接字符串.有人知道本地仿真器的连接字符串是什么吗?还是用户名和密码?

But my problem is I can't connect to my local emulator. I tried Googling, but I can't find a right connection string for the tool to work. Any one any idea what the connection string for local emulator is? Or the username and password?

推荐答案

感谢@Peter B!

Thanks to @Peter B!

Account name: localhost:<port>
Account key: C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==

位于: https://docs.microsoft.com /en-us/azure/cosmos-db/local-emulator

这篇关于cosmos db模拟器的用户名和密码是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆