Hello friends…..
I had seen that many times we are
facing problem with starting MongoDB server.
Mongo server will not starting
properly with mongod command.
Whenever you will get error as follow
don’t be afraid just follow below command….
This type of error will occur because
of improper shutdown of mongodb server.
We have to repair our database so it
will shutdown properly and ready for start again…
Type following command to repair
database
mongod --repair
We can also repair specific database
by giving path using dbpath command.
mongod --dbpath /db/data --repair
Yeaaahhhh!!!!!... Thats it.......
What is the use of MongoDB rather than other Database?
ReplyDeleteMongoDB is document based and non-relational database....for long database it is used widely...
ReplyDelete