MONGODB failed to start

  mongodb, question

It was installed directly with MSI, and there was a problem during startup. How do you solve it?

The following is my log file:

C:UsersAdministrator>mongo
MongoDB shell version v3.4.7
connecting to: mongodb://127.0.0.1:27017
2017-08-16T23:45:23.316+0800 W NETWORK [thread1] Failed to connect to 127.0.
:27017 after 5000ms milliseconds, giving up.
2017-08-16T23:45:23.317+0800 E QUERY [thread1] Error: couldn’t connect to
ver 127.0.0.1:27017, connection attempt failed :
connect@src/mongo/shell/mongo.js:237:13
@(connect):1:6
exception: connect failed

One hundred percent did not start, so Nongcheng also tried many methods on the Internet and finally there was no use for eggs. Finally, the Great God took the lead. Let me reinstall, execute the following line of code, and solve it in minutes.

mongod.exe –install –logpath=F:PHPmongologmongo.log –dbpath=F:PHPmongodata