Home > Software design >  What means this error in MongoDb running mongodb package for the first time?
What means this error in MongoDb running mongodb package for the first time?

Time:07-27

$ mongo

BadValue: error: no args for --configdb

try 'C:\Program Files\MongoDB\Server\6.0\bin\mongos.exe --help' for more information

mongod says waiting for connections on port 27017. Whats the problem with mongo? My path to mongo is: alias mongo="/c/Program\ Files/MongoDB/Server/6.0/bin/mongos.exe"

CodePudding user response:

download the shell from latest version here: https://www.mongodb.com/try/download/shell?jmp=docs

mongo is change to mongosh, extract the folder in your desire directory, and change your "atlas mongos" path to "mongosh.exe" path. "mongosh.exe" path will be in bin folder of the downloaded zip file.

  • Related