ubuntu 16.04 - Mongodb is not running -


i have installed mongodb in computer. whenever try launch it, it's not running. have entered command , "mongo" start mongodb, shows following resuts, application not opening.

any 1 having idea how can fix this? please share it. thanx!

snippet of response

environment: ubuntu 16.04

those warnings appear @ first mongo start. don't worry them.

since process still running , got small > character there, means connected mongodb server.

mongod mongodb server (you can check if it's running running ps aux | grep mongod) , mongo cli tool cli client connecting server. here can run commands.

for example, create first document:

use mydatabase db.people.insert({ name: "rhea" }) db.people.find() 

in conclusion, both mongodb server , client running got few warnings appear first time when run mongo.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -