[mongodb: mongo command]

David Herron david at davidherron.com
Tue May 16 13:24:54 UTC 2023


mongod is the database server

mongos is probably the shell - the CLI user interface to the database

Look at MongoDB-dot-com for documentation

+ David Herron



On Tue, May 16, 2023 at 1:11 PM Maxim Abalenkov <maxim.abalenkov at gmail.com>
wrote:

> Dear all,
>
> How are you? I hope all is well with you. I need your help please. I would
> like to access a MongoDB database using a command line similar to:
>
>   mongo --host localhost --port 27018 --username ... --password ...
> --authenticationDatabase …
>
> I installed the ‘mongodb’ Mac port. However, I do not see a ‘mongo’
> command. There are ‘mongod’ and ‘mongos’, but no ‘mongo’. Would you please
> tell me, what is the difference between the ‘d’ and ’s’ commands and how do
> I obtain the ‘mongo’ itself? Thank you and have a good day ahead!
>
>> Best wishes,
> Maxim
>
> Maxim Abalenkov \\ maxim.abalenkov at gmail.com
> +44 7 486 486 505 \\ www.maxim.abalenkov.uk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20230516/4afdaa5a/attachment.htm>


More information about the macports-users mailing list