运行mongoDB

cmd

1 mongod --dbpath D:mongoDBdatabasedata

另外开一个新的cmd

1 mongo
原文地址:https://www.cnblogs.com/Annetree/p/13332611.html