-1

I set up the path in the environment variables to the mongo.exe and mongod.exe but still i am not able to use the commands mongo and mongod to start it directly, the command prompt is not recognising the commands mongo and mongod, what should i do to use these commands?

Jason
  • 1
  • 3

1 Answers1

0

if you want to access mongod and mongo as command from command prompt then instead of setting path in environment variable you need to create aliases in command prompt refer this for creating alias in command prompt.

Or go to directory where mongod.exe available and execute it.

Otherwise,simple way is download 'mongoDB compass' which is GUI for MongoDB.

Dimple Patel
  • 718
  • 1
  • 4
  • 14