learning MongoDB

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

上一篇:论文翻译:Preserving User Privacy For Machine Learning: Local Differential Privacy or Federated Machine Learning?


下一篇:利用Heartbeat完成Mysql主-主同步