mongo connect failed

Last login: Tue Apr  2 17:13:22 on ttys001

WenzhedeMacBook-Pro:~ wenzhefan$ mongo

MongoDB shell version v4.0.8

connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb

2019-04-02T17:33:41.836+0800 E QUERY    [js] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: Connection refused :

connect@src/mongo/shell/mongo.js:343:13

@(connect):2:6

exception: connect failed

WenzhedeMacBook-Pro:~ wenzhefan$

 

 

 

 

 

 

 

 

 

 

 

 

 

你可能感兴趣的:(数据库)