<div dir="ltr">mongod is the database server<div><br></div><div>mongos is probably the shell - the CLI user interface to the database</div><div><br></div><div>Look at MongoDB-dot-com for documentation</div><div><br></div><div>+ David Herron<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 16, 2023 at 1:11 PM Maxim Abalenkov <<a href="mailto:maxim.abalenkov@gmail.com">maxim.abalenkov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>Dear all,</div><div><br></div><div>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:</div><div><br></div><div>  mongo --host localhost --port 27018 --username ... --password ... --authenticationDatabase …</div><div><br></div><div>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!</div><div><br></div><div>—</div><div>Best wishes,</div><div>Maxim</div><div><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Maxim Abalenkov \\ <a href="mailto:maxim.abalenkov@gmail.com" target="_blank">maxim.abalenkov@gmail.com</a><br>+44 7 486 486 505 \\ <a href="http://www.maxim.abalenkov.uk" target="_blank">www.maxim.abalenkov.uk</a></div></div></div></div></div></div></blockquote></div>