I’ve been following Introduction to MongoDB using the MEAN stack on edX and everything went fine.
I arrived at mongod --dbpath ~/data/db , ran that and it went like in the video, I have my thingy running and waiting for connection at port 27017… but what now? I can’t stop it, I don’t even have the little $ showing anymore. …So I’ve opened another terminal and ran sudo mongod and it indicates shutting down, but I still can’t close the first terminal…
Has anyone had the same problem? I’m on Ubuntu 16.
Duh. Found it. Sorry - got panicky. Needed to open new terminal and use
mongod --dbpath ~/data/db --shutdown and worked like a charm. Now on to the next problem .