- Published on
MongoDB - (二) 安裝成服務
OS : Windows 10 pro 64bit
- 使用 administrator 啟動
cmd,輸入mongod --config "C:\MongoDB\mongod.cfg" -install

- 在服務裡面就可以看到 mongodb

- 使用 cmd 啟動服務
net start mongodb

- mongodb 服務的狀態就會變成
執行中


OS : Windows 10 pro 64bit
cmd,輸入 mongod --config "C:\MongoDB\mongod.cfg" -install

net start mongodb
執行中