I ran db.shutdownServer() on mongo shell

Hi there ,

I rand the db.shutdownServer() command on the mongo shell and now I can not connect to the mongo shell again.

What should I do ?

Hello @Simao_Bonvalot, since you have shutdown the MongoDB server, you can start the server and connect to it. You can use the same procedure you had used to start the server earlier before you connected to it via the mongo shell (see Starting mongod at Manage mongod Processes).

1 Like