迷茫2017-05-02 09:27:21
Is there something wrong with this log?
It can be seen from the log that mongodb has successfully monitored 127.0.0.1:27017 and a client has connected.
PHPz2017-05-02 09:27:21
Looking at your log, it has been successfully started.
After the database is started successfully, it is in a state of waiting for client connection. As long as a client connects to the database, a log will be printed.
In the mongodb installation directory, start the ./mongod command to access mongodb.
淡淡烟草味2017-05-02 09:27:21
What platform is it? Linux or windows?
Before executing the mongod
command, you must first create the /data/db folder and grant read and write permissions, otherwise an error will be reported
See this blog for details: Blog entrance