Suggestions by VincDev#0001

memetrollsXD
2022-05-25 18:56:19 +02:00
parent ca6028f4da
commit 1ef745afd9

@ -5,16 +5,13 @@
-[MongoDB Compass](https://www.mongodb.com/try/download/compass) (Optional) -[MongoDB Compass](https://www.mongodb.com/try/download/compass) (Optional)
## Running MongoDB Server ## Running MongoDB Server
1. Download The MongoDB Installation Package , And Install Like A Ussual 1. Download The MongoDB installation Package, and install like usual
2. After Install The MongoDB , Open The MongoDB Compass. Then Write `mongodb://localhost:27017` At URL 2. After installing MongoDB, open MongoDB Compass. Then Write `mongodb://localhost:27017` At URL
3. If It Logged On To The DB So Your MongoDB Server Service Had Already Run . So Just Open The Grasscutter Jar And The DB Will Automatically Created The Collection Folder 3. Grasscutter will automatically create the data on start
## Solution Fix ## Solution Fix
Q1: How To Fix MongoDB Server Not Activated?<br/> Q1: How To Fix MongoDB Server Not Activated?<br/>
A1: Go To Your MongoDB Path Folder , The Default Path Is `C:\Program Files\MongoDB\Server\5.0\bin` . So Find mongod.exe and try to Run It A1: Go to Your MongoDB installation folder. The default path is `C:\Program Files\MongoDB\Server\<version>\bin`. Find mongod.exe and run it.
Q2: I Have Try The Q1 Solution , But Why my mongod.exe Keep Crashing And Said `exception in initAndListen: NonExistentPath: Data directory C:\data\db\ not found.` ?<br/>
A2: Try To Make The MongoDB Folder From Your System Path Like `C:\data\db\` And Ur mongod.exe Won't get a error after this.
# Redirecting Text Blocks # Redirecting Text Blocks