Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Robo 3T (robomongo) 连接 mongo 集群。我在编辑/删除文档时遇到此错误。
保存文档时出错:1 写入数据库时不是主要的
我用谷歌搜索了这个错误,许多解决方案都说连接到主集群,但我不知道如何?
您需要像这样设置主集群的连接字符串:
1)登录mongo集群
2)点击集群
3)点击主要名称
4)在robomongo中添加主集群名称作为连接字符串。