首页 > 数据库技术 > 详细

learning MongoDB

时间:2014-04-08 22:51:14      阅读:592      评论:0      收藏:0      [点我收藏+]

I read this doc to learn how to start MongoDB on windows and write some useful note there

http://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/

 

1. Start MongoDB

To start MongoDB, execute from the Command Prompt:

C:\mongodb\bin\mongod.exe

 

You may specify an alternate path for \data\db with the dbpath setting for mongod.exe, as in the following example:

C:\mongodb\bin\mongod.exe --dbpath d:\test\mongodb\data

 

2.Connect to MongoDB

Connect to MongoDB using the mongo.exe shell. Open another Command Prompt and issue the following command:

C:\mongodb\bin\mongo.exe

(注意这里是另起一个cmd去做数据库的操作)

 

 

 

 

 

learning MongoDB,布布扣,bubuko.com

learning MongoDB

原文:http://www.cnblogs.com/desperadom/p/3650380.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!