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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -