After Mongo is installed, the following problems are found after Mongo starts (H: \MongoDB\bin)

It took a lot of searching to find the answer
Create a mongo. config // touch mongo. config with Git

Then add the following in mongo.config
dbpath=H:\MongoDB\data
## all output locations
logpath=H:\MongoDB\log\mongo.log
Create the corresponding folder
in the file directory and then execute the configuration file mongod from the command line
![]()
If there is no task exception, do not close the command,
open MongDB/bin directory, then double-click mongo. Exe
, the link has been successful, and the mongo xshell can be executed
Read More:
- The mongoDB service failed to start (exception: connect failed)
- Mongodb — startup exception, error report ERROR:NUMBER 100
- [Solved] org.mongodb.driver.cluster – Exception in monitor thread while connecting to server node1:27017
- Solved: elasticsearch error: exception [type = search]_ phase_ execution_ exception, reason=all shards failed]
- “Failed to convert @ drawable / XX into a drawable exception details are logged in window”
- JS exception capture: the usage and example analysis of onerror() in window
- Mongodb uses Mongo to report error: could’t connect to server 127.0.0.1:27017, connection attempt failed: socket
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- Mongodb caused 127.0.0.1:27017 unable to connect
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused
- How to Fix error performing isolated work; SQL [n/a]; nested exception is org.hibernate.exception.SQLGrammarE
- Realize the simplest recursive call, simulate exception in thread “main” java.lang.stackoverflowerror exception
- MongoDB Error: Failed to start mongod.service: Unit mongodb.service is masked
- Installation window services prompt error [SC] OpenSCManager FAILED 5
- Mongodb encountered an error: connect econnreused 127.0.0.1:27017
- SQL Server 2012 installation exception: error while enabling windows feature: netfx3, error code: – 2146498298
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect EC
- Java connection SQL error, network error IO Exception:Connection refused :connect
- Inexplicable exception 007: git error: authentication failed for
- Mongodb failed to start: child process failed, exited with error number 100