先创建目录,创建log文件,然后启动服务
cd /d D:Program FilesMongoDBServer3.4in mongod.exe --dbpath d:datadb --logpath "D:datadbConfmongodb.log" --auth
先创建目录,创建log文件,然后启动服务
cd /d D:Program FilesMongoDBServer3.4in mongod.exe --dbpath d:datadb --logpath "D:datadbConfmongodb.log" --auth
Powered By Z-BlogPHP 1.7.3
Copyright 2024-2027 pukuimin Rights Reserved.
粤ICP备17100155号