Mongodb cannot be started under mac

suddenly became interested in mongodb, installed and started with brew according to the rookie tutorial, but showed "waiting for connections on port 27017" for a long time, then
clipboard.png

as a front-end younger brother who still has a narrow range of knowledge, I feel pressured by the omnipotent community. Please give me a boss to give me some advice.

Feb.27,2021

mongo server started? To first execute the mongod instruction to start the server, and then execute the mongo instruction to connect


your mongo service has been up. The sentence waiting for connections on port 27017 means waiting for your client connection to come in.


both of the above answers are correct, and

is adopted in chronological order.
Menu