MongoDB In 30 Minutes
Why Stack Overflow recommends it
Stack Overflow users link it as a beginner walkthrough for installing MongoDB and learning the basic shell commands, and also cite it when troubleshooting problems that came up while following along.
Recommended by 1 people across 1 different months, 2017 to 2020.
What it is
A 2016 beginner tutorial from Traversy Media covering the MongoDB NoSQL database. It walks through installing and starting MongoDB, then the shell syntax for creating, reading, updating and deleting documents. The description notes it was superseded by a 2019 update.
What people said
Recommends Desmond Singh · 2017-07 · Stack Overflow · on “MongoError: failed to connect to server [localhost:27017] on first connect [MongoError: connect ECONNREFU SED 127.0.0.1:27017]”
dude idk how but i found the problem to this insanity :D This video helped me. even though i had mongodb installed and had it running in the background, i had to delete everything with mongoDB and then i redid everything; Ty for the help man. [this video] [LINK]
Cites Rahul Singh · 2017-01 · Stack Overflow · on “Unable to change dbpath in MongoDB using command line”
I started learning mongoDB a couple of days ago. Post installation, I am trying to change the dbpath as follows: mongod --dbpath C:\myfolder\myproj\data\db running the above command, I got the below statements in the command line: Now i typed the below command to check if the dbpath has changed mongod dbpath this line still returns: C:\data\db I also tried running the below command to change the dbpath (as mentioned in a youtube video [this video] , but still the dbpath didn't change mongod --directoryperdb --dbpath c:\myfolder\myproj\data\db Can someone tell me how can I change my dbpath? I looked at the stackoverflow question MongoDB not using /etc/mongodb.conf after I changed dbpath [LINK] and
Cites Sujay U N · 2017-09 · Stack Overflow · on “mongodb show dbs listDatabases failed”
I am new to mongo db. I just installed mongo DB on my MAC, After watching this Youtube Video [this video] In mongo shell, I entered show dbs and I get wired output. Kindly help me to understand and solve this > show dbs 2017-09-11T02:45:34.298+0530 E QUERY [thread1] Error: listDatabases failed:{ "ok" : 0, "errmsg" : "unable to open cursor at URI statistics:table:collection-2-2362555297355466682. reason: No such file or directory", "code" : 43, "codeName" : "CursorNotFound" } : _getErrorWithCode@src/mongo/shell/utils.js:25:13 Mongo.prototype.getDBs@src/mongo/shell/mongo.js:62:1 shellHelper.show@src/mongo/shell/utils.js:769:19 shellHelper@src/mongo/shell/utils.js:659:15 @(shellhelp2):1:1
Cites Algo7 · 2020-09 · Stack Overflow · on “Mongoose not saving a model with await and try/catch block”
As can be seen at 7:04 of the video. The person is connecting to a 'local' instance of mongodb. The connection url is 'mongodb://localhost:27017/typeracertutorial'. The localhost here indicates that the person has installed mongodb locally. If the person didnt mention how to install mongodb, you can find many tutorials about it on youtube. For example this one here: [LINK] for mac and this one here for windows [this video]