MongoDB In 30 Minutes

Sdílet
Vložit
  • čas přidán 12. 06. 2024
  • UPDATED VIDEO 2019 - • MongoDB Crash Course
    In this video we will dive into the MongoDB NoSQL database and look at the fundamentals and the syntax to create, read, update and delete documents/data
    NODE.JS, EXPRESS & MONGODB COURSE:
    www.udemy.com/nodejs-express-...
    BECOME A PATRON: Show support & get perks!
    / traversymedia
    COURSES & MORE INFO:
    www.traversymedia.com
    FOLLOW TRAVERSY MEDIA:
    / traversymedia
    / traversymedia
    / traversymedia
  • Věda a technologie

Komentáře • 1K

  • @TraversyMedia
    @TraversyMedia  Před 4 lety +118

    This video is 3 years old. Here is the updated one which has the same stuff but more up to date - czcams.com/video/-56x56UppqQ/video.html

  • @terryfick2890
    @terryfick2890 Před 7 lety +1180

    you are truly useful to humans, keep alive !

  • @orimorningstar7094
    @orimorningstar7094 Před 7 lety +161

    You are one of the best instructors I know on youtube. You explain in simple terms and write elegant code. Keep up the good work :D

  • @veteran35th
    @veteran35th Před 7 lety +37

    30 mins of pure gold. Thankyou.

  • @stuwhoo
    @stuwhoo Před 7 lety +15

    Fantastic... I've been trying to get MongoDB running for the past couple of hours. I wish I stopped at this video tutorial first. Just the first five minutes was enough to sort my problem out, of installing it properly!. Thank you for taking the time to explain it. I really appreciate it. (You could even trim this down to an express version for a correct method of installation.)

  • @danielsoto5517
    @danielsoto5517 Před 7 lety +10

    oh man! I was struggling to learn mongoDB in a fun way and here you appeared to save my day!! Great video!!

  • @yuliancheng4623
    @yuliancheng4623 Před 5 lety

    It's one of the easiest and kindest tutorials I've ever followed. Every step, I didn't follow you and changed something, and it made me so creative. Thanks.

  • @mshairani
    @mshairani Před 7 lety

    not many people have a capacity to explain complicated things in such simple and easy to understand manner, in a way which is close to real world scenarios that one has to deal with on a daily basis. Well done! and keep up the good work.

  • @mdjunaid38
    @mdjunaid38 Před 7 lety +9

    Love your tutorials.. Simple and to the point. Thanks a lot man !!

  • @Channel-id9ts
    @Channel-id9ts Před 7 lety +37

    I am one of those who never subscribes to any channel, you are an exception. Thanks a lot :)

    • @TraversyMedia
      @TraversyMedia  Před 7 lety +11

      Well thank you. I appreciate that very much

  • @rayane4975
    @rayane4975 Před 5 lety +9

    for all those facing problems at 6:03 (net start) :
    1. mongod --remove
    2. mongod --directoryperdb --dbpath C:\mongodb\data\db --logpath C:\mongodb\log\mongo.log --logappend --install
    3. net start MongoDB

  • @maxwellochieng4924
    @maxwellochieng4924 Před 4 lety +1

    My best Tutor. Whenever I need anything, your channel has always helped me. Thanks a million Sir. Simply the best!

  • @upadisetty
    @upadisetty Před 7 lety +3

    Wow. Short, clear, informative, to the point.
    Thanks for no junk tutorial. :)

  • @CodingPhase
    @CodingPhase Před 7 lety +178

    HOLY SHIT i did not know you were the guy from eduonix.... wow dude you a legend i learned node js from you on udemy

  • @seancpp
    @seancpp Před 4 lety +2

    MongoDB is exactly what I’ve been looking for in my next project. Thank you for this content.

  • @Maejys
    @Maejys Před 6 lety +1

    Dude that was so helpful! I'm very new to back-end stuff and your teaching help me understand the basics of MongoDB (first time learning this). Thank you very much! :)

  • @okohemmanuel7187
    @okohemmanuel7187 Před 7 lety +24

    Nice tutorial. Thank you so much.

  • @nvsWhocares
    @nvsWhocares Před 7 lety +109

    If you can not start the service (net start MongoDB):
    1. Delete all files in /data/db and /log
    2. Run cmd AS ADMINISTRATOR (NO Powershell!) Now in CMD delete the corrupt service and rerun the video commands :
    3. sc delete MongoDB
    4. Navigate into your mongodb/bin direcotry (Video ~6:00)
    5. Run the install mongod command again (Video ~6:00)
    6. net start MongoDB

  • @piyushsingh1985
    @piyushsingh1985 Před 5 lety

    I understood each and every word of this tutorial, so many others just rush through the video but u don'
    t, i like that very much

  • @Mike-bj8sk
    @Mike-bj8sk Před 6 lety +1

    You have the best tutorials. You cover everything that needs to be covered

  • @inoutsoccer11
    @inoutsoccer11 Před 5 lety +5

    Hey I just wanted to say thank you. Great video! I'm currently in a coding bootcamp and haven't enjoyed our lessons on SQL and Mongo until I watched this. Not only did this help me learn something, but it has also made me more interested in Mongo.
    Thanks again! (Subscribed) =]

  • @navneetpandey9159
    @navneetpandey9159 Před 7 lety +8

    Very useful tutorial...Thanks for keeping information crisp and to the point. Keep it up Man!!!
    :)

  • @harshitagarwal4338
    @harshitagarwal4338 Před 5 lety +1

    Thanks man. This is a very useful tutorial for guys who know some sort of databases already and want to quickly jump onto MongoDB. Loved it. Thanks again

  • @lillymarie3790
    @lillymarie3790 Před 6 lety +1

    I love this video! It's exactly what I was looking for so long.

  • @sprasain1
    @sprasain1 Před 6 lety +4

    You did a great job man ! I am now ready for my MongoDb interview :D

  • @Rahimo
    @Rahimo Před 7 lety +6

    when I try to navigate into the mongodb folder from Command Prompt (4:30), I get an error message that says "The system cannot find the path specified". Any ideas on how to fix this?

  • @janlyndonjasa6466
    @janlyndonjasa6466 Před 6 lety +1

    that was a literal learning session in a short period of time. Great!

  • @TurboWindex
    @TurboWindex Před 4 lety +1

    I like it when the explanation is followed with a practical example. Superb video thank you !

  • @mrjain
    @mrjain Před 5 lety +14

    Really good. Although he gets very technical at 2:02 with the term "crap load of data"!!!

  • @sagarahuja4386
    @sagarahuja4386 Před 7 lety +227

    "MR. John Doe" is very famous. I found him in every other tutorial. ;)

    • @TraversyMedia
      @TraversyMedia  Před 7 lety +36

      He is :)

    • @jesus-love
      @jesus-love Před 6 lety +26

      you forgot about his wife Ms. Jane Doe

    • @vibhorkashmira2366
      @vibhorkashmira2366 Před 6 lety +23

      And his daughter Miss Pizza Doe

    • @Krimson5pride
      @Krimson5pride Před 5 lety +6

      i guess it was the Darkman movie or some documentary, but they had explained John Doe is some sorta temporary name given to the dead bodies that has no identification or yet to identify.
      If male body, John Doe or if it is female body, it is Jane Doe.
      You will hear the name in a lot of thriller movies.

    • @hrefel9796
      @hrefel9796 Před 5 lety +3

      you need to know what history of john doe man

  • @oberlinio
    @oberlinio Před 4 lety

    I like how it's not overly planned so you're making it error sometimes or having to look something up, which is more realistic work flow. Thx

  • @jeffreybriceno
    @jeffreybriceno Před 7 lety +2

    Thank you so much for this great tutorial.
    In 30 minutes I've been improved my resume. :)

  • @PROFjavi
    @PROFjavi Před 6 lety +7

    If you are having issues in this step in 2018...
    mongod --directoryperdb --dbpath C:\mongodb\data\db --logpath C:\mongodb\log\mongo.log --logappend --install
    Two things:
    1. You NEED to do this with CMD ADMIN privileges or you will have issues (like he said)
    2. You NEED to remove --rest from the command (as shown above)
    ... hopefully this helps

    • @snpranay
      @snpranay Před 6 lety

      how do i even install it? official site only shows the link to version 3.6, where everything is shifted to the cloud

    • @PROFjavi
      @PROFjavi Před 6 lety

      www.mongodb.com/download-center?jmp=nav#community
      then choose the windows, linux or osx version
      underneath that is any version you might want....

  • @kendtimothy6963
    @kendtimothy6963 Před 7 lety +130

    Personally, I love it at 1.5 speed. Good video!

    • @donwp
      @donwp Před 6 lety

      I didn't know that was possible. Thanks!

    • @BinaryEmyaneh
      @BinaryEmyaneh Před 6 lety +7

      You just changed my life.

    • @martinr2255
      @martinr2255 Před 6 lety

      Same lol

    • @abhishekbhandari6362
      @abhishekbhandari6362 Před 6 lety +6

      Try it at 2 times. That's the best speed to hear it at, with occasional pauses to think about what he said.
      He truly is an amazing instructor.

    • @257sarthakkaushik2
      @257sarthakkaushik2 Před 5 lety +4

      When I see your comments I was on 1.5 speed now I am watching at 2X

  • @shawnmelamed4582
    @shawnmelamed4582 Před 7 lety

    this is truly fantastic. I'm excited to go through more of your tutorials

  • @codewithnacho
    @codewithnacho Před 6 lety +1

    You are like the Yoda of Web Development. I have your courses in Eduonix and loved taking them. Keep up the great work!!

  • @HankBreger
    @HankBreger Před 6 lety +3

    Please help:
    Failed global initialization: FileNotOpen: Failed to open "I:\mongoDB\log\mongo.log"
    What can I do?

  • @user-og7hx5tj9s
    @user-og7hx5tj9s Před 5 lety +36

    For everybody having --rest problem, just delete this line and everything should be fixed. It's just an outdated parameter.

  • @nikta456
    @nikta456 Před 7 lety

    The CLEAREST explanation I ever seen.Thank you!

  • @noctisrey2403
    @noctisrey2403 Před 5 lety

    The is exactly the kind of tutorials we need ! fast and insightful ! Thanks !!

  • @kalef1234
    @kalef1234 Před 5 lety +4

    seems a lot has changed for the current version. there is now an option to install it as a service from the installation process so I'm not sure what all is still required from the beginning setup of this tutorial. I am getting a "the service is not responding to the control function" error EDIT: I just did the setup without doing custom and left the paths it wanted. everthing worked then. whatever

  • @Like-a-trolling-stone
    @Like-a-trolling-stone Před 6 lety +16

    Anyone knows how to solve this : Error parsing command line: unrecognised option '--rest' ???

    • @RaviSankarRao
      @RaviSankarRao Před 6 lety +3

      recent version has some changes. --rest is not recoganised command. remove the rest and try.

    • @kalamashaka8280
      @kalamashaka8280 Před 6 lety +1

      remove --rest

    • @kalamashaka8280
      @kalamashaka8280 Před 6 lety +1

      you need to have command promp as an admin

    • @aishwaryagawali2672
      @aishwaryagawali2672 Před 4 lety

      For windows 8.1
      Get the MongoDB folder in program files, then create db folder in data, then in command prompt simply write
      cd C:\Program Files\MongoDB\Server\4.2\bin \mongod //just copy the link from actual folder
      cd C:\Program Files\MongoDB\Server\4.2\bin \mongo
      it'll get connected, then
      show dbs

  • @ajakinremi7373
    @ajakinremi7373 Před 5 lety

    Two years later and this video is still valuable.

  • @codeblood87
    @codeblood87 Před 6 lety

    This is my first lecture to MongoDB, thanks broo you make it soo simple.. lovely

  • @tomyang7788
    @tomyang7788 Před 7 lety +7

    what does creating a user do ? How would u be able to select which user u log on ?

    • @setry14
      @setry14 Před 7 lety +2

      Believe a user is a person who can access that data. So say if you have to expose this data as a REST api then you can use that user as authentication on that api's header to GET, POST, PUT data

    • @heavestern
      @heavestern Před 5 lety

      Asking the real questions thx

  • @JimitPatel139
    @JimitPatel139 Před 6 lety +5

    I am getting { Error parsing command line: unrecognised option '--rest' } error message. Any additional packages that needs to be installed on windows 10?

    • @gayan.sandamal
      @gayan.sandamal Před 6 lety +3

      The --rest parameter was removed in MongoDB 3.6. So remove the --rest option from your command line.

    • @princepatrickc4611
      @princepatrickc4611 Před 6 lety

      thanks man

  • @maikelooijens01
    @maikelooijens01 Před 7 lety

    Clearly explained!! I'm excited to go through more of your tutorials!

  • @extraordinaryhuman1806

    I was totally unaware that this kind of databases exists! This is beautiful! Simple and elegant
    Thank for the tutorial

  • @overunityinventor
    @overunityinventor Před 7 lety +9

    You earned a Like!
    Is there a GUI app for database? as we have phpmyadmin for MySQL?

  • @vipindeepkaur9920
    @vipindeepkaur9920 Před 6 lety +4

    when I type net start MongoDB, it gives an error. net not recognized as an internal or external command. Please help

    • @NiiAyiteAryeh
      @NiiAyiteAryeh Před 5 lety

      make sure to call this command from your mongo bin directory

  • @rosmuhammad5089
    @rosmuhammad5089 Před rokem

    thank you for this tutorial. it helps me to navigate the NoSQL database in no time. really helpful to me

  • @pwrs7
    @pwrs7 Před 5 lety

    Excellent intro to MongoDB. I have a presentation tomorrow afternoon and this video was invaluable to me. Thanks bro.

  • @SNM_23745
    @SNM_23745 Před 6 lety +4

    when i enter net start Mongodb iam getting an error "the service is not responding to control function " how to get rid of this error?

  • @dudibgd
    @dudibgd Před 7 lety +3

    How to deal with " Error parsing command line: unrecognised option '--install' " ? (running on Mac, 10.10.5)

    • @rohitnahata4896
      @rohitnahata4896 Před 7 lety

      Check out installation steps for Mac. It was different for Ubuntu

    • @samiullahk7223
      @samiullahk7223 Před 7 lety +5

      Rohit Nahata tu har time nahata hai? 😇

  • @sarmisthasify
    @sarmisthasify Před 7 lety +1

    It was so crisp and clear that felt like I already know the subject !!! Thanks :-)

  • @pradeepnagaraj7347
    @pradeepnagaraj7347 Před 5 lety

    Excellent Explanation! Thanks for the ease you made to get into MongoDB.

  • @sureshy4716
    @sureshy4716 Před 7 lety +4

    Hi,
    when i tried to run the below command
    "net start MongoDB"
    net is throwing an error , it is not recognised

    • @apnabini
      @apnabini Před 7 lety

      run terminal as administrator

    • @JzNote
      @JzNote Před 7 lety +1

      net start MongoDB : Invalid service name, even runned as admin

    • @JzNote
      @JzNote Před 7 lety +4

      www.mkyong.com/mongodb/how-to-install-mongodb-on-windows/ The MongoDB does not require installation, just download and extracts the zip file, configure the data directory and start it with command “mongod“

    • @SNM_23745
      @SNM_23745 Před 6 lety +1

      how did you solve this problem?

    • @alifadhil3243
      @alifadhil3243 Před 5 lety

      @@SNM_23745 Run it as an Administrator stackoverflow.com/questions/4661670/cannot-start-mongodb-as-a-service

  • @aharunkara
    @aharunkara Před 5 lety

    Brad Traversy is a blessing to the community! Thanks for the tutorial.

  • @shanibpatel
    @shanibpatel Před 5 lety

    Perfect one. . . This is how i was looking for the tutorial.. . Appreciated

  • @sonjiatekla2477
    @sonjiatekla2477 Před 6 lety +3

    I am using windows 10 and getting such error. I opened cmd as administrator but it doesnt help. C:\mongodb\bin>mongod --directoryperdb --dbpath C:\mongodb\data\db --logpath C:\mongodb\log\mongodb.log --logappend --rest --install
    Error parsing command line: unrecognised option '--rest'
    try 'mongod --help' for more information

  • @PavanKumar-vu2mm
    @PavanKumar-vu2mm Před 6 lety +4

    the command --rest is unrecognised. what should i do?

    • @aleksandrastrelkova2008
      @aleksandrastrelkova2008 Před 6 lety

      The --rest parameter was removed in new versions of mongodb. You can type command without this parameter

  • @pradeepp5287
    @pradeepp5287 Před 7 lety +1

    It was really useful to gather a quick insight of mongo dB.

  • @pablomendez3590
    @pablomendez3590 Před 7 lety

    I think you have no idea how much you are helping me. Thank you so much!!!

  • @Thelaibakhan
    @Thelaibakhan Před 5 lety +3

    --rest is not recognized, can anybody help ?

    • @abeyep
      @abeyep Před 5 lety

      just delete this line and everything should be fixed. It's just an outdated parameter.

    • @Thelaibakhan
      @Thelaibakhan Před 5 lety

      I did, then it says mongodb not found, even though I've installed it before.

    • @abeyep
      @abeyep Před 5 lety

      Laiba Khan that’s really weird, I’m not sure

  • @avocado_battles
    @avocado_battles Před 6 lety +3

    21:30 Darude-Sandstorm made a small appearance!

  • @VyshfulThinking
    @VyshfulThinking Před 5 lety

    I love your courses, I'm a student currently, so I cant be a patron to you, but i have placements next semester, once i start to work, the first thing i want to do is support your content. thank you so much.

  • @redd_cat
    @redd_cat Před 7 lety

    Exactly what I was looking for! Thanks a lot for making this video. It was clear and slow enough for me to get started. :D

  • @martymcfly1882
    @martymcfly1882 Před 6 lety +4

    FAIL unrecognized option '- -rest'

  • @KennethStricklandAKAKenster

    Great video, for anyone watching, if you want to save some time, turn the video speed to 1.25, should be a compliment to the presenter, very clear and precise

  • @sifo_io
    @sifo_io Před 3 lety

    I just went from knowing nothing about mongo except the name, to literally getting it right! Thanks a lot!

  • @nitinbhargava123
    @nitinbhargava123 Před 7 lety +1

    I am new to mongo db and this video made me feel very comfortable! Thanks for the helpful video +1

  • @manjunathmayya
    @manjunathmayya Před 5 lety +1

    This is exactly what I was looking for. Thanks a ton :)

  • @Jaskaransingh-hv5eb
    @Jaskaransingh-hv5eb Před 7 lety

    I am learning login app from ur videos . really awesome .fan of traversy media.. best online tutor .. i wish i have tutor like u.

  • @deltaexile1906
    @deltaexile1906 Před 7 lety

    Very clear explanation and practical ! Love it! Thank you very much!

  • @gamzedal9895
    @gamzedal9895 Před 5 lety

    You are the best in this, I watched with pleasure, thanks for it.

  • @mateusz4782
    @mateusz4782 Před 5 lety

    Great video, much knowledge presented in only 30 minutes, thanks!

  • @ManojDeshwal
    @ManojDeshwal Před 3 lety

    That is the video I was looking from a long time. Thanks buddy. Stay blesses 👍👍

  • @johnabraham658
    @johnabraham658 Před 4 lety +1

    Bro - You are amazing and explained clearly as i am new to this technology. Thanks

  • @AnalyticsMaster
    @AnalyticsMaster Před 7 lety

    Top draw........
    You covered quite a few commands in half an hour......
    Thank you Chief !!!

  • @hk_build
    @hk_build Před 4 lety

    The way you explained is perfect..!! thank you so much for making such video

  • @Pareshbpatel
    @Pareshbpatel Před 6 lety

    An Excellent introduction to MongoDB! - Thank you very much, Brad!

  • @MaheshKumar-lt8jw
    @MaheshKumar-lt8jw Před 5 lety +2

    Very thankful to you sir it was very helpful to learn MONGODB basics

  • @domem_
    @domem_ Před 7 lety +1

    Great video, very clear and clean. Subscribed.

  • @coraldapotato4081
    @coraldapotato4081 Před 6 lety

    idk what to say except THANK YOU SO MUCH!....this was so simple, so concise, so understandable. Thank you :) keep it up

  • @atanasbosnov3813
    @atanasbosnov3813 Před 6 lety

    Great and easy to understand tutorial! Thank you for your time!

  • @gamershow5944
    @gamershow5944 Před 5 lety +1

    Great Video. Reminds me of C# and SQL all in one. Also brings back my command prompt Oracle days : )

  • @swarnendude1921
    @swarnendude1921 Před 4 lety

    Excellent coverage in short time

  • @nicknugent4877
    @nicknugent4877 Před 6 lety

    This was a fantastic tutorial. Thanks so much for putting it together.

  • @Buzzkill790315
    @Buzzkill790315 Před 6 lety

    good help for getting started and learning the basics. thank you

  • @kamaleshpramanik7645
    @kamaleshpramanik7645 Před 3 lety

    Very informative video and put very simple manner. Thank you very much.

  • @InMoneyStream
    @InMoneyStream Před 7 lety

    Great tutorial. I've been looking for this kind of information. Thanks!!!!

  • @mwineafrod
    @mwineafrod Před 7 lety

    Well paced and succinctly explained ... thank you!

  • @RaviKiran-fy2vw
    @RaviKiran-fy2vw Před 5 lety

    Thank you very much sir. Really super. Clean & Great Explanation. I got to know in 30 mins what is Mongo DB .

  • @OtavioSoria
    @OtavioSoria Před 7 lety

    My first video of MongoDB, very useful for me. thanks man.

  • @sidstam
    @sidstam Před 5 lety

    Many thanks, yours was my intro to MongoDB.

  • @yetin4021
    @yetin4021 Před 7 lety

    Its really good, Looking forward for more sessions. Thank you

  • @PhaniKatakam
    @PhaniKatakam Před 7 lety

    Awesome tutorial for MongoDB beginners.. thanks a ton, Namaste from Hyd, India

  • @smartarshad877
    @smartarshad877 Před 7 lety

    World needs tutors like u

  • @BFKxFroMxHollanD
    @BFKxFroMxHollanD Před 5 lety

    Very nice video mate! Helped me out a lot!

  • @yanjim
    @yanjim Před 6 lety

    Very cool, mate !! Thank you for sharing your acknowledge ^^
    I'm about to use mongo on my university project, now I think I'm ready