如何从 Windows 启动 Mongo DB? [英] How do I start Mongo DB from Windows?

查看:24
本文介绍了如何从 Windows 启动 Mongo DB?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

解决方案

步骤 1

下载

步骤 3

  • 创建以下文件夹

C:datadb

步骤 4

  • cdC: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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆