-
Notifications
You must be signed in to change notification settings - Fork 3
1.6 Operation
Olga Arsenieva edited this page Nov 19, 2018
·
12 revisions
To stop mongod from mongo shell use these commands
use admin
db.shutdownServer()
Go to Services list of your PC. Click on MongoDB Server service and then click "Start".
Additional info at This Link
When a Mongo database is stopped incorrectly it may lead to data corruption and prevent MongoDB from restarting. To fix it do a back up and use the command
mongod --repair
This command will rebuild indexes, erase all corrupted data and create empty files for missing data. For more info see Link
GS1 Canada® is a registered trademark of GS1 Canada. Copyright © GS1 Canada 2018.