gpt4 book ai didi

mongodb - Windows MongoDB Compass 没有显示集合信息,但 Ubuntu MongoDB Compass 显示了什么?

转载 作者:行者123 更新时间:2023-12-04 18:42:50 25 4
gpt4 key购买 nike

我在 Ubuntu 和 Windows 上的 MongoDB 中有相同的数据库和集合。
在我在 Ubuntu 上的 Compass 中,它显示了有关集合的信息:
enter image description here
但是,我在 Windows 上的 Compass 没有显示有关该集合的信息:
enter image description here
虽然当我在 Windows 中单击集合时,它显示该集合确实有 91 个文档,就像在 Ubuntu 上一样:
enter image description here
为什么 MongoDB Compass for Windows 不显示有关集合的信息,我该如何强制它执行此操作?
附录
我在 Windows 10 虚拟机上安装了 MongoDB Compass,它正确显示了集合信息。所以也许这个问题与 Windows 无关,但更多的是一个问题,为什么 MongoDB Compass 通常不显示有关集合的信息?
enter image description here

最佳答案

我自己解决了这个问题。
对于遇到此问题的任何人,事实证明我安装了一个较旧版本的 MongoDB,它正在启动,而不是显然与 Mongo 一起安装的那个。
我卸载了所有 Mongo Compass 实例,从 https://www.mongodb.com/try/download/compass 重新安装了 Mongo Compass现在可以了。

关于mongodb - Windows MongoDB Compass 没有显示集合信息,但 Ubuntu MongoDB Compass 显示了什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69863661/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com