I have installed mongodb and put a path in environment variable.When i use cmd it still throwing error which is 'mongo' is not recognized as an internal or external command, operable program or batch file.
I have installed mongodb and put a path in environment variable.When i use cmd it still throwing error which is 'mongo' is not recognized as an internal or external command, operable program or batch file.
The mongo executable is deprecated and no longer available in 6.0.
Keep in mind this is just the shell, mongod is the binary that runs the database.
mongosh is the new shell.
Look in C:\Program Files\MongoDB\Server\6.0\bin to see the binaries that exist.