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.
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
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.
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.
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 reportedSee this blog for details: Blog entrance