very new to mongodb and databases in general. whenever i run mongo i receive this error message:
mongo
MongoDB shell version: 2.
Create a directory db in home, inside db another directory data
cd mkdir db cd db mkdir data
then type this command--
mongod --dbpath ~/db/data