<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Dear all,<div><br></div><div>Thank you for your replies so far. Would you please tell me, what Mac port contains the newer MongoDB shell ‘mongosh’? It’s not present in the ‘mongodb’ port. I couldn’t find ‘mongosh’ via the ‘port search’ command either. Thank you very much!</div><div><br></div><div>—</div><div>Best wishes,</div><div>Maxim</div><div><br><div>
<meta charset="UTF-8"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Maxim Abalenkov \\ maxim.abalenkov@gmail.com<br>+44 7 486 486 505 \\ www.maxim.abalenkov.uk</div></div></div>
</div>
<div><br><blockquote type="cite"><div>On 16 May 2023, at 14:28, Felipe Gasper <felipe@felipegasper.com> wrote:</div><br class="Apple-interchange-newline"><div><div>“mongos” is MongoDB’s proxy for sharded clusters.<br><br>“mongo” is MongoDB’s legacy shell, which in newer MongoDB releases (6+) is no longer distributed.<br><br>“mongosh” is MongoDB’s new shell. Prefer it whenever possible.<br><br>-FG<br><br><br><blockquote type="cite">On May 16, 2023, at 9:24 AM, David Herron <david@davidherron.com> wrote:<br><br>mongod is the database server<br><br>mongos is probably the shell - the CLI user interface to the database<br><br>Look at MongoDB-dot-com for documentation<br><br>+ David Herron<br><br><br><br>On Tue, May 16, 2023 at 1:11 PM Maxim Abalenkov <maxim.abalenkov@gmail.com> wrote:<br>Dear all,<br><br>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:<br><br>  mongo --host localhost --port 27018 --username ... --password ... --authenticationDatabase …<br><br>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!<br><br>—<br>Best wishes,<br>Maxim<br><br>Maxim Abalenkov \\ maxim.abalenkov@gmail.com<br>+44 7 486 486 505 \\ www.maxim.abalenkov.uk<br></blockquote><br></div></div></blockquote></div><br></div></body></html>