[DB] - 使用 DBeaver Enterprise 21.0 连接 MongoDB

背景

Windows 10 Pro
DBeaver Enterprise Edition v21.0
MongoDB v4.2

步骤

#1. 下载并安装 DBeaver
https://dbeaver.com/download/enterprise/

#2. 下载并安装 JDK11
https://www.oracle.com/java/technologies/javase-jdk11-downloads.html

  #3. 安装 JRE11
以管理员身份运行 cmd,切换到 jdk11 安装目录,执行命令

bin\jlink.exe --module-path jmods --add-modules java.desktop --output jre

#4. 下载并配置 dbeaver-agent.jar
https://blog.csdn.net/simplyou/article/details/115906872

-startup
plugins/org.eclipse.equinox.launcher_1.6.0.v20200915-1508.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.2.0.v20200915-1442
-vm
C:\Program Files\Java\jdk-11.0.11\bin
-vmargs
-XX:+IgnoreUnrecognizedVMOptions
--add-modules=ALL-SYSTEM
-Dosgi.requiredJavaVersion=11
-Xms128m
-Xmx2048m
-javaagent:C:\Program Files\DBeaverEE\dbeaver-agent.jar

#5. 配置完成,添加连接

参考文档
https://blog.csdn.net/qq_41070393/article/details/116014329
https://blog.csdn.net/simplyou/article/details/115906872

posted @ 2021-05-05 17:42  jinzesudawei  阅读(4568)  评论(0编辑  收藏  举报