可视化管理 MongoDB Atlas

Posted by HYJ on May 5, 2018

连接到MongoDB Compass

  1. 进入MongoDB Atlas控制台,点击 connect 1-1

  2. 将当前ip添加到白名单,然后点击Connect with mongoDB Compass 1-2

  3. 选择当前的MongoDB Compass版本,复制URL 1-3

  4. MongoDB Compass会自动检测剪贴板URL,补全Password,点击connect完成连接 1-4

连接到Robo 3T

在2016年8月后Robomongo添加了对SSL和MongoDB Atlas的连接支持,(官方连接教程见 Robomongo RC10 brings support to SSL),在2017年7月后Robomongo改名为Robo 3T (Robomongo is now Robo 3T, with MongoDB 3.4 support)

  1. 打开Robo 3T,点击Manage Connections –> Create 2-1

  2. 进入MongoDB Atlas控制台,将IP白名单设置为ALLOW ACCESS FROM ANYWHERE ;点击当前实例名,复制集群中PRIMARY的Address,将其复制进Robo 3T 2-2-1 2-2-2 2-2-3

  3. 点击 Authentication 标签, 将 Database 设置为 ` admin 并填入 User NamePassword , Auth Mechanism 设置为 SCRAM-SHA-1` 。 2-3

  4. Authentication Method 设置为 Select self-signed Certificate2-4

参考资料