什么是从Windows 7(64位)启动Mongo DB的方式 [英] What is the way to start Mongo DB from Windows 7 (64 bit)

查看:235
本文介绍了什么是从Windows 7(64位)启动Mongo DB的方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的Window 7(64位)机器上安装了MongoDB。我已经创建了路径数据/ db太,但是当我尝试使用命令'C:\mongodb\bin\mongod.exe'启动mongo db,它是不启动。 它显示管理Web控制台等待端口28017上的连接。帮助我开始MongoDB。并且还请建议如果任何GUI可用于MongoDB。提前感谢。

解决方案

步骤1



href =https://www.mongodb.com/download-center =nofollow noreferrer> mongodb



步骤2




  • 按照正常设置说明















第3步




  • 创建以下文件夹



C:\data\db



步骤4




  • cd C:\ Program Files\MongoDB\Server\3.2\bin>

  • 输入命令 mongod

  • 默认情况下,mongodb服务器将从端口 27017开始





步骤5




  • (可选)下载













    步骤6




    • 启动RoboMongo并在 localhost:27017


    $上创建一个新连接b $ b



    您的mongodb已启动并与RoboMongo连接 - 第三方GUI工具


    I have installed MongoDB on my Window 7(64 bit) machine. I have created the path data/db too but when i tried starting mongo db using the command 'C:\mongodb\bin\mongod.exe', it is not starting. It is showing admin web console waiting for connections on port 28017. Help me in getting start the MongoDB. And also please suggest if any GUI available for MongoDB. Thanks in advance.

    解决方案

    Step 1

    Download the mongodb

    Step 2

    • Follow normal setup instructions

    Step 3

    • Create the following folder

    C:\data\db

    Step 4

    • cd to C:\Program Files\MongoDB\Server\3.2\bin>
    • 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 - a third party GUI tool

    这篇关于什么是从Windows 7(64位)启动Mongo DB的方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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