0

自上次更新 datagrip 2019.1.3 以来,datagrip 不再打开 mongo 集合。

双击任何集合会加载集合的概述,但不会加载数据视图。

在此处输入图像描述

在此处输入图像描述

数据库已成功连接,mongo shell 和所有其他工作正常,但未显示数据。

这是datagrip日志的摘录

2019-06-08 13:11:10,907 [ 680986]   INFO -     org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=MULTIPLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} 
2019-06-08 13:11:10,907 [ 680986]   INFO -     org.mongodb.driver.cluster - Adding discovered server localhost:27017 to client view of cluster 
2019-06-08 13:11:10,908 [ 680987]   INFO -     org.mongodb.driver.cluster - Cluster description not yet available. Waiting for 30000 ms before timing out 
2019-06-08 13:11:10,911 [ 680990]   INFO -  org.mongodb.driver.connection - Opened connection [connectionId{localValue:33, serverValue:143}] to localhost:27017 
2019-06-08 13:11:10,911 [ 680990]   INFO -     org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 0, 6]}, minWireVersion=0, maxWireVersion=7, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=523564} 
2019-06-08 13:11:10,912 [ 680991]   INFO -     org.mongodb.driver.cluster - Discovered cluster type of STANDALONE 
2019-06-08 13:11:10,914 [ 680993]   INFO -  org.mongodb.driver.connection - Opened connection [connectionId{localValue:34, serverValue:144}] to localhost:27017 
2019-06-08 13:11:10,917 [ 680996]   INFO -  org.mongodb.driver.connection - Closed connection [connectionId{localValue:34, serverValue:144}] to localhost:27017 because the pool has been closed. 

几个月前我遇到了同样的错误,当时只是回滚版本有帮助,但现在无论我将 datagrip 回滚到什么,集合的数据都不再显示。我已经重新启动了我的 mac,使缓存无效并重新启动了 datagrip(多次)。没有任何帮助。

如何让我的高价产品像高价产品一样工作?

4

1 回答 1

1

我会尝试 JetBrains 的最新 EAP。自 2019 年 10 月 4 日起,它们还支持简单的 MongoDB 交互。您可以在2019.3 EAP 页面上找到更多信息。

查看 MongoDB 的另一种方法是Robo 3T。这在非工作室版本中也是免费的。

编辑: 现在 Jetbrains Datagrip 原生支持 MongoDB。

于 2019-10-30T09:44:00.903 回答