如何从 Windows 启动 Mongo DB?

编程入门 行业动态 更新时间:2024-10-26 18:22:57
本文介绍了如何从 Windows 启动 Mongo DB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我已经在我的 Windows 7(64 位)机器上安装了 MongoDB.我也创建了路径 data/db,但是当我尝试使用命令 'C:mongodbinmongod.exe' 启动 mongodb 时,它没有启动.它显示 admin web 控制台正在等待端口 28017 上的连接.

帮助我启动 MongoDB.还请建议是否有任何可用于 MongoDB 的 GUI.

解决方案

步骤 1

下载

步骤 3
  • 创建以下文件夹

C:datadb

步骤 4
  • cd 到 C:Program FilesMongoDBServer3.2in>
  • 输入命令mongod
  • 默认情况下,mongodb 服务器将在端口 27017

步骤 5
  • (可选)下载

    步骤 6
    • 启动 RoboMongo 并在 localhost:27017
    • 上创建一个新连接

    您的 MongoDB 已启动并与 RoboMongo(现为 Robo 3T)连接 - 第三方 GUI 工具

    I have installed MongoDB on my Windows 7 (64 bit) machine. I have created the path data/db too but when I tried to start mongodb using the command 'C:mongodbinmongod.exe', it is not starting. It is showing admin web console waiting for connections on port 28017.

    Help me in starting the MongoDB. And also please suggest if any GUI is available for MongoDB.

    解决方案

    Step 1

    Download the mongodb

    Step 2
    • Follow normal setup instructions

    Step 3
    • Create the following folder

    C:datadb

    Step 4
    • cd to C:Program FilesMongoDBServer3.2in>
    • enter command mongod
    • by default, mongodb server will start at port 27017

    Step 5
    • (optionally) download RoboMongo and follow normal setup instructions

    Step 6
    • Start RoboMongo and create a new connection on localhost:27017

    Your MongoDB is started and connected with RoboMongo (now Robo 3T) - a third party GUI tool

更多推荐

如何从 Windows 启动 Mongo DB?

本文发布于:2023-11-22 21:05:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1619019.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Windows   Mongo   DB

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!