MongoDB can be started, but mongo shell cannot be started?

  mongodb, question

runmongodCommand, mongoDB can be started


This should be regarded as a success, right?

But runmongoIf so, the terminal will report such an error:

MongoDB shell version: 3.2.7
 connecting to: test
 2017-01-31T12:56:00.745+0800 W NETWORK  [thread1] Failed to connect to, reason: errno:61 Connection refused
 2017-01-31T12:56:00.745+0800 E QUERY    [thread1] Error: couldn't connect to server, connection attempt failed :
 exception: connect failed

I don’t know why ~ ask for advice, thank you!

MongoDB is installed in homebrew?
If so, launch cttlload ~/library/launch agencies/homebrew.mxcl.mongodb.plist.
Then run Mongoose