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
First set the path in Enviroment Variables, C:\Program Files\MongoDB\Server\3.6\bin
after that use bellow command
C:\>mkdir data
C:\>cd data
C:\data>mkdir db
C:\data\db>
Then go to bin directory and select mongod.exe
or use mongod
. Without closing previous cmd
open a new cmd and start the client using mongo
Now it will work.