diff --git a/Resources.md b/Resources.md index 8c113e2..3c6a975 100644 --- a/Resources.md +++ b/Resources.md @@ -1,3 +1,22 @@ +# MongoDB Tutorial + +## Prerequisites +-[MongoDB](https://www.mongodb.com/try/download/community)
+-[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?
+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.` ?
+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