1、打开命令行,进入mongoDB下的bin目录

如何启动mongoDB并用Robo 3T连接

2、输入mongod   --dbpath  ../data/db命令

如何启动mongoDB并用Robo 3T连接

3、出现waiting  for  connections on port 21017说明启动成功

 

如何启动mongoDB并用Robo 3T连接

4、打开robo3t点击file,点击connect,弹出一个框,在点击connect.

如何启动mongoDB并用Robo 3T连接 

 5、连接成功如下图所示。

如何启动mongoDB并用Robo 3T连接

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-16
  • 2021-05-23
  • 2021-12-08
  • 2021-04-11
猜你喜欢
  • 2021-08-01
  • 2021-05-28
  • 2021-11-10
  • 2021-07-10
相关资源
相似解决方案