自从上次更新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(多次)。没有任何帮助。
如何使我的高端产品像高端产品一样工作?
答案 0 :(得分:0)
我会尝试使用JetBrains的最新EAP。自2019年10月4日起,它们还支持简单的MongoDB交互。 您可以在2019.3 EAP page上找到更多信息。
查看MongoDB的另一种方法是Robo 3T。在非Studio版本中也是免费的。
编辑: 现在,Jetbrains Datagrip原生支持MongoDB。