I\'m trying to start mongo uin windows10 by type: mongo in cmd.
I am getting this error:
C:\\Users\\Itzik>mongo
MongoDB shell versio
This issue is resolved by creating a data directory
Then move to the bin folder of mongodb or setting path information in environment variables
Then you can enter the following command,
mongod --dbpath 'path of the data folder including data directory name'
Eg: mongod --dbpath c:\users\codemaker\data