Suggestions by VincDev#0001

memetrollsXD 2022-05-25 18:52:28 +02:00
parent 615b26d767
commit ca6028f4da

@ -1,3 +1,22 @@
# MongoDB Tutorial
## Prerequisites
-[MongoDB](https://www.mongodb.com/try/download/community)<br/>
-[MongoDB Compass](https://www.mongodb.com/try/download/compass) (Optional)
## Running MongoDB Server
1. Download The MongoDB Installation Package , And Install Like A Ussual
2. After Install The MongoDB , Open The 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
## Solution Fix
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
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
## Fiddler Classic JScript