How to install MongoDB 7.0.0 on Windows 10 [2023]|Install MongoDB 7.0.0 & Mongo Shell |MongoDB Setup

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • In this video, I am going to show How to Install MongoDB 7.0.0 Community Edition on Windows 10. We will also see How to Install MongoDB Shell for running queries. . Also I have shown different commands of MongoDB.
    MongoDB is one of the most used, open-source document databases, and NoSQL databases. MongoDB is developed by 10gen. It is written in c++ and it is a document-oriented database. It uses the BSON format.
    Useful Commands in MongoDB:
    1. MongoDB - Create Database
    use cscorner
    2. If you want to check your databases list, use the command
    show dbs
    Your created database is not present in list. To display database, you need to insert at least one document into it
    3. MongoDB - Drop Database
    db.dropDatabase()
    4. MongoDB - Create Collection
    db.createCollection(name)
    db.createCollection("students")
    5. MongoDB-Create Document.
    db.students.insertOne({"rollno":1,"name":"sunita"})
    If the collection doesn't exist in the database, then MongoDB will create this collection and then insert a document into it.
    6. MongoDB -Show Collection
    show collections
    7. MongoDB - Drop Collection
    db.students.drop()
    8. MongoDB - Query Document
    db.students.find()
    9. To display the results in a formatted way, you can use pretty method.
    db.mycol.find().pretty()
    This tutorial will provide you a good understanding of MongoDB concepts.
    This tutorial is intended for students and new developers who want to learn MongoDB Database in easy-to-understand steps. This tutorial will provide you MongoDB concepts that will help you to get started with MongoDB quickly.
    ------------------------------------------------------------------------
    Subscribe to my channel for more videos of programming and hit the bell icon to never miss an update in the future.
    Also, don't forget to LIKE & COMMENT.
    ------------------------------------------------------------------------
    Channel Subscription:
    🔗 / @cscornersunitarai
    🔗 / @codewitsunita
    Java Programming Tutorial Playlist
    🔗 • Java Programming Tutorial
    Thanks for watching my videos till the end, if you like my work please do Subscribe, Like, Comment, and Share!!
    ------------------------------------------------------------------------
    🎥 MY FAVOURITE UA-cam GEAR
    www.amazon.in/...
    ------------------------------------------------------------------------
    CONNECT WITH ME ON:
    ►Facebook - / cscornersunitarai
    ►Personal Facebook A/c - / sunita.sharmarai
    ►Instagram - / cscornersunitarai
    ►Telegram - t.me/cscorner
    ►LinkedIn - / cscornersunitarai
    ------------------------------------------------------------------------
    #MongoDB #installmongoDB #nosql #mongoDB #HowToInstallMongoDBOnWindows10 #MongoDBTutorial #MongoDBInstallationOnWindows #MongoDBInstallation #MongoDBTutorial #MongoDBTutorialForBeginners #MongoDBCourse
    #cscornersunitarai
    how to install mongodb on windows 10,installing mongodb,how to install mongodb,mongodb,database,open source database,nosql,mongodb tutorial for beginners,starting mongodb linux,install mongodb on linux,data modelling,install mongodb,mongodb on windows,mongod,mongodb 6,mongo,install,windows 10,mongodb 6,community server,mongodb 7.0.0,mongodb installation,mongodb tutorial,create database,drop database,create collection,drop collection,cscornersunitarai,nosql database
    Subscribe to CS Corner Sunita Rai for more videos!
    Like! Subscribe! Share!
    Stay tuned!

КОМЕНТАРІ • 240

  • @rajeshrs5383
    @rajeshrs5383 9 місяців тому +5

    I'm tired by seeing many of websites & UA-cam contents about mongo dB installation but I'm very impressed & understand very well after your explanation, Thank You for the great lecture mam......

  • @sohelshaikh4657
    @sohelshaikh4657 5 місяців тому +3

    I have watched lot of videos for mongoDB installation but your explanation is very simple 😊😊

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  5 місяців тому +1

      Glad you liked it!
      You're welcome 😊 Please subscribe

  • @kundidecarvalho4750
    @kundidecarvalho4750 11 місяців тому +9

    Simple explanation and to the point. Thank you!

  • @Damian-xo1cw
    @Damian-xo1cw Місяць тому

    Very clear explanation. I've tried at least 5 other tuts and nothing worked as well as yours. Thanks. Gonna sub your channel.

  • @bingolive3240
    @bingolive3240 5 місяців тому +1

    thank you it worked and helped me alot other wise i was just stuck i did not install the shell and i was just running the mongosh on the terminal and getting the error but thanks to u it saved a lot of my time.❤❤❤❤❤❤❤❤❤❤❤❤❤❤

  • @iTiT100
    @iTiT100 8 місяців тому +1

    Its a really useful video with all the steps covered. I was struck with a lot of errors since 2 days. Thank you so much!

  • @kiddosknowledgewizbyakshit9954
    @kiddosknowledgewizbyakshit9954 5 місяців тому +1

    Awesome video fantastic! in a very genuine way ma'am has explained all setup functionality and CRUD operations; I am very beginner in mongodb so in one go I did all setup. Thanks a lot ma'am...

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  5 місяців тому

      Glad you liked it!
      You're welcome 😊 Please subscribe

  • @raymondkadzashie591
    @raymondkadzashie591 7 місяців тому

    Oh my God thank you so much for your tutorial, I was struggling to install mongodb for like hours and kept getting error message about no finding it. But watching your video it was really easy to install. Thanks again

  • @vanesanchez5578
    @vanesanchez5578 Рік тому +3

    Te amo! 💖 No sabes como sufrí tratando de instalarlo sin éxito. Me ayudaste a lograrlo!

  • @sarthakgoyal2471
    @sarthakgoyal2471 9 місяців тому

    Finally a helpful video for Windows user. Thank You mam for saving my day. I have wasted 2 days for this. 😇

  • @ANANDYADAV-sc1se
    @ANANDYADAV-sc1se 10 місяців тому +1

    Thank you very much for this video. I regret for finding this video late.

  • @pradnyahasabnis1107
    @pradnyahasabnis1107 4 місяці тому +1

    Thank you, madam. It was a very nice and simple explanation.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  3 місяці тому

      Glad you liked it
      You're welcome! Please subscribe😊

  • @rkscp7711
    @rkscp7711 11 місяців тому +1

    I watched many videos but those videos were not helpful for me
    And i came here and you helped so much thank you so much mam keep it up 🙌🙌

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому +1

      Glad my video helped u! Please subscribe👍

    • @rkscp7711
      @rkscp7711 11 місяців тому

      @@CSCORNERSunitaRai don't worry mam I have liked and subscribe when I watched first time, it's my honour i learnt something by you 🌸

  • @appreciateit....8026
    @appreciateit....8026 10 місяців тому +1

    Thank you very much 😢😢😢😢 after soo much headache it actually work

  • @hostingarea6927
    @hostingarea6927 8 місяців тому +1

    thanks mam i struggled a lot but finally i got the solution

  • @sarpyldrm7734
    @sarpyldrm7734 11 місяців тому

    Thank you, was having a fight with installation and now completed.

  • @rizwanshoro3254
    @rizwanshoro3254 9 місяців тому

    Thanks mam ❤ its realy esay i have face so problems while installing mongodb but your video help me so thanks

  • @factsmotivation7728
    @factsmotivation7728 9 місяців тому

    Thank you so much with 10 min i will set up my mongodb because of your video maam.
    Maam are you from Nepal because you surename rai my friend from nepal his surname is also rai.

  • @zafarhussain8273
    @zafarhussain8273 8 місяців тому +1

    realy worth it . mam you did very well

  • @neethuc3831
    @neethuc3831 8 днів тому

    Thank you Ma’am…very useful video 👍

  • @baakaluffy
    @baakaluffy 10 місяців тому +1

    Finally some helpful vedio ❤️

  • @deepakmandal161
    @deepakmandal161 2 місяці тому +1

    Thanks you so much ma'am this is very useful

  • @user-fd3ro5vd3o
    @user-fd3ro5vd3o 9 місяців тому

    i was stuck for an hour but after your video,i get out of it, thanks a lot

  • @himanshubind2826
    @himanshubind2826 7 місяців тому

    very useful and simple to understand. Thank You!!

  • @chancleto_d6558
    @chancleto_d6558 Рік тому +3

    Thx for your vid, it helped me a lot 👋👍

  • @ajaydeepchoudhary5143
    @ajaydeepchoudhary5143 7 місяців тому

    mongo dB installation is very easy only after ur explanation

  • @adityaaryan9228
    @adityaaryan9228 8 місяців тому +1

    You solved my problem thanks for that

  • @dineshd2251
    @dineshd2251 11 місяців тому +2

    Thank you so much for providing this video mam.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      You're welcome! Please subscribe👍

    • @dineshd2251
      @dineshd2251 11 місяців тому

      @@CSCORNERSunitaRai I already subscribed your channel mam.

  • @Yashhhuuuuu98
    @Yashhhuuuuu98 7 місяців тому

    thnks sister it is fully working

  • @Shubham_Gupta_ji
    @Shubham_Gupta_ji 11 місяців тому +2

    I tried the same but when I checked my mongodb in service it wan't running then I tried to start service but it gave "Error 1067: the process terminated unexpectedly". any solution ?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому +1

      Do u hv any other version of mongodb already installed

    • @Shubham_Gupta_ji
      @Shubham_Gupta_ji 11 місяців тому +1

      ​​@@CSCORNERSunitaRai No I didn't installed any version of mongodb earlier but now I am trying to install mongodb v7.0.2 on windows 10

  • @blackopss017
    @blackopss017 7 місяців тому

    You just saved my lot of time. Thank you!

  • @shivanirajpurohit4307
    @shivanirajpurohit4307 9 місяців тому

    it was a great explanation i was struggling with the set up part

  • @user-xz3rk5er9k
    @user-xz3rk5er9k 8 місяців тому

    Thank you mam your video helped me a lot

  • @KhyatiSatija
    @KhyatiSatija 9 місяців тому

    Thank you maam, very helpful video

  • @divyakadole7295
    @divyakadole7295 10 місяців тому +1

    so nice explanation

  • @yunianrezky5082
    @yunianrezky5082 11 місяців тому

    omg thank you ma'am, your explanation so easy to following🤩

  • @Veeranveeran-2003
    @Veeranveeran-2003 6 місяців тому +1

    Nice, its work....

  • @Yayode_Akuafo_Patawah1145
    @Yayode_Akuafo_Patawah1145 10 місяців тому +1

    U have a new subscriber here
    Thanks a lot

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 місяців тому

      Thanks for the sub!
      You're welcome 👍 Please subscribe😊

  • @vasudevsharma3550
    @vasudevsharma3550 9 місяців тому

    Without confusion all doubt clear 😉 thanks 🙏 ma'am 💗

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  9 місяців тому +1

      Glad my video helped you! Please subscribe

    • @vasudevsharma3550
      @vasudevsharma3550 9 місяців тому

      @@CSCORNERSunitaRai ma'am how I can joine offline classes?

  • @maheshramteke2765
    @maheshramteke2765 9 місяців тому +2

    Madam, please make a video on how to install oracle 19c or 21 download. please guide me on this issue after oracle 19c installation. If I start SQLPlus with username and password then adapter issue is showing and if I go to services then I want to start oracle service, oracle is starting then error is showing that windows is local computer Could not start OracleServiceORCL. The system cannot find the file specified.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  9 місяців тому

      Check out this link
      ua-cam.com/video/-Sl8NjvJmz4/v-deo.html

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  9 місяців тому

      For error u can check
      ua-cam.com/video/Cl_S74k3H8k/v-deo.html

  • @mr_affan15
    @mr_affan15 Рік тому +2

    Thanks mam 😊

  • @prajee_07
    @prajee_07 10 місяців тому

    Its really helpful video Thankyou mam ❤

  • @ritwik_shivam
    @ritwik_shivam 11 місяців тому +3

    Thank you Ma'am for the helping with the installation part along with some basic commands. But I am currently working on a small project in VS Code and want to use MongoDB from its own terminal. So, I typed Mongo command in the VS Code powershell (after installing the other required packages such as npm install Mongooe.) But giving error, kindly help me out in that. Also I noticed in my bin folder of MongoDB there is not Mongo.exe I followed the instructions as per this video, and reintalled it again to double check that if there was any error in downloading but still same issue. Kindly help me out.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      Did you set path in environmental variable?

    • @ritwik_shivam
      @ritwik_shivam 11 місяців тому

      @@CSCORNERSunitaRai yes ma'am for both MongoDB and Shell after extracting the zip in C drive as shown in the video

  • @thewonder474
    @thewonder474 Рік тому +1

    Thank you very much. Its really work.

  • @avguser9152
    @avguser9152 8 місяців тому +1

    I do suggest improving voice quality it's bit sharp for ears, pretty straight up tutorial tho

  • @user-ud9oi4bx5d
    @user-ud9oi4bx5d 9 місяців тому

    thank you for those esplication 🙂

  • @abdulkaram6044
    @abdulkaram6044 9 місяців тому

    Thanks mam this is really really helpfull

  • @onyekafrank9851
    @onyekafrank9851 10 місяців тому +1

    Thank you very much

  • @rahulpawar5927
    @rahulpawar5927 9 місяців тому

    Really good video.But the "bin" path of the "mongodb" shell also has to be added to the environmental variables to avoid the "mongosh is not recognized as internal or external command" problem. Thats not shown in the video.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  9 місяців тому

      Thanks for liking video!
      I have shown mongosh path..please check video again.
      Check 05:40

    • @sumitraj3679
      @sumitraj3679 9 місяців тому +1

      if you download msi file of MongoDB Shell then there is no need to add it in Environment variable

  • @tit4tat914
    @tit4tat914 9 місяців тому

    superb explanation

  • @gajawadarishi7258
    @gajawadarishi7258 10 місяців тому

    ThankYou !!! Very Useful Clear

  • @joaquincruz3065
    @joaquincruz3065 10 місяців тому

    It helped me a lot. Thank you very much!

  • @Yash-ry5wj
    @Yash-ry5wj 7 місяців тому

    You are the Great Mam🤩

  • @segunniyi8241
    @segunniyi8241 6 місяців тому +1

    Good job

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  3 місяці тому

      Glad my video helped u!
      Most welcome 😊Please subscribe

  • @suriyastark431
    @suriyastark431 11 місяців тому +4

    Problem in installation...it didn't move, during the half of the installation

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      ohh! Was it showing any error?

    • @impostor444
      @impostor444 11 місяців тому

      I too have the same error... It is showing like installing mongodb compass this may take few minutes but it's been 2 hrs and I'm still facing the same issue.. What to do now... Please help me

    • @sushantpawar3703
      @sushantpawar3703 10 місяців тому

      Same here. I'm also figuring out what is happening. Have you found any solution?

    • @aliya.dos.
      @aliya.dos. 8 місяців тому

      Exactly the same( Have you found any solution ???@@impostor444

    • @joydebnath2658
      @joydebnath2658 7 місяців тому

      I am also😰

  • @AnimeGamerLand
    @AnimeGamerLand 9 місяців тому

    What a explanation ❤ love you mam

  • @ziadmohamed339
    @ziadmohamed339 11 місяців тому +1

    Hello, thanks a lot for the explanation, but I'm facing a problem when I click the button to download the MongoDB Shell; it won't download at all. I have tried different browsers, but it doesn't download

  • @GovindKumar-xj9yw
    @GovindKumar-xj9yw 11 місяців тому +1

    Thank you mam you saved me..

  • @vedbhanushali608
    @vedbhanushali608 7 місяців тому

    thank you madam

  • @roufhasan
    @roufhasan 10 місяців тому +1

    @2:50 I have waited for more than 1 hour but it got stuck in installing MongoDB Compass. How can I fix it tried several times.😢

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  10 місяців тому

      U can uncheck the mongodb compass option. Only install server and mobgosh.
      If U want compass U can install it later

  • @user-tn1vd8kq4u
    @user-tn1vd8kq4u Рік тому +2

    I didn't got shortcut on desktop. Please help.

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  Рік тому +1

      That's ok.
      U can search and open

    • @user-tn1vd8kq4u
      @user-tn1vd8kq4u Рік тому

      @@CSCORNERSunitaRai it says " not available "........... Mam, my mongoDB software is only visible on control panel.

  • @vivekkush2256
    @vivekkush2256 11 місяців тому

    it was really helpful, Thank you

  • @aloktiwari_2302
    @aloktiwari_2302 10 місяців тому

    Great

  • @kcs_svecw
    @kcs_svecw Рік тому +1

    It was observed, when mouse is clicked, green color circle is coming, what is the software your are using mam .

  • @baraiyasachin9166
    @baraiyasachin9166 11 місяців тому

    thats amazing ...thank you madam

  • @user-ov4sz5jz7q
    @user-ov4sz5jz7q 9 місяців тому

    It really helped me alot...

  • @myls9972
    @myls9972 10 місяців тому

    Thanks Ma'am

  • @UtsavArmanur
    @UtsavArmanur 8 місяців тому

    Wonderful explanation. Saved a lot of time.

  • @aayushsingh6125
    @aayushsingh6125 11 місяців тому +1

    Thankyou so much aunty 🙏

  • @zaheerkhansafi1992
    @zaheerkhansafi1992 9 місяців тому

    Thank you❤ very helpful

  • @Oling74
    @Oling74 11 місяців тому +1

    I am having an issue with Compass. I have tried many versions and ways, and when the downlaod of Mongodb finished or the download of the compass the Compass just won't oppen. In the task mananger it appears, but nothing opens. I have already deactivated the windows security but it didn't solve this issue. Can anyone help me?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      Install it separately

    • @Oling74
      @Oling74 11 місяців тому

      Thank you for answering! Actually I tried that, and the result is still the same. The Compass just won't open, but the Mongodb command line does.@@CSCORNERSunitaRai

  • @priyanshumauryakrishna2146
    @priyanshumauryakrishna2146 9 місяців тому

    nice video

  • @Filmmania007
    @Filmmania007 Рік тому +1

    thank you very much 100 times

  • @darkxhornet2440
    @darkxhornet2440 6 місяців тому

    thank you mam ....:)

  • @MursaleenAsif-vz2go
    @MursaleenAsif-vz2go 11 місяців тому +1

    I am getting the following error: connect ECONNREFUSED 127.0.0.1:27017
    I have already added the path to environment and when it doesn't let me start the mongodb service from services, when i try to start the service it gives me the following error "Service terminated unexpectedly".

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      Was your installation successful?

    • @MursaleenAsif-vz2go
      @MursaleenAsif-vz2go 11 місяців тому

      @@CSCORNERSunitaRai Thank you for replying but I have already solved the error

    • @swathi4925
      @swathi4925 10 місяців тому +1

      Please let me know how can you solved the issue ? I'm also facing same issue so want to know the solution

  • @shreevigneshsp4223
    @shreevigneshsp4223 8 місяців тому

    im facing issue while installing, copying files it's struck what to do

  • @abdurahman2237
    @abdurahman2237 Рік тому +2

    everything fine but , when i enter mongosh it will not connect

  • @TheProductivityCenter
    @TheProductivityCenter 11 місяців тому

    Really helpful thank you!

  • @SandeepKumar-vw9cn
    @SandeepKumar-vw9cn 11 місяців тому +1

    I downloaded MongoDB but there is no bin folder in it... I extracted it to local disk D instead of C... Bcoz I had all of my programming files in D... Do you think it is the problem...!?

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      for mongodb u don't have to extract becoz its msi, u have to extract for mongosh.
      Check video again

    • @SandeepKumar-vw9cn
      @SandeepKumar-vw9cn 11 місяців тому +1

      @@CSCORNERSunitaRai Sorry for the misinterpretation... I downloaded it to Local Disk D but I couldn't find bin folder in it... Later I downloaded through zip file mode, there is bin folder, but there are no data and log folders.. 🤷‍♂️🤷‍♂️

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      @@SandeepKumar-vw9cn your mongo server running or not

  • @ramasaladi8478
    @ramasaladi8478 Рік тому +2

    Mongosh is coming error
    Not recognised as an internal or external command

  • @mumbailover-sp7tk
    @mumbailover-sp7tk Рік тому +1

    maam whether mongo is vaild word in terminal
    to check mongo is command line shell that connects to any instance of Mongod

  • @annghiephuynh7596
    @annghiephuynh7596 11 місяців тому +1

    Thank you!

  • @aliasgxr.07
    @aliasgxr.07 10 місяців тому +1

    Perfect

  • @ayushsaxena9386
    @ayushsaxena9386 Рік тому +1

    you are awesome ma'ma

  • @rakeshgadhawe4550
    @rakeshgadhawe4550 10 місяців тому +1

    thank you man :-)

  • @saksham4123
    @saksham4123 9 місяців тому +1

    Install hogya path mein save krdiya phir v terminal pai error aarha hai mongodb -version search krne pai

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  9 місяців тому

      agar aapne properly set kia hai path to ye error nahi ana chaiye.
      Check video again
      Also check mongodb services running or not

  • @shivrajwarwante5140
    @shivrajwarwante5140 8 місяців тому

    thank you

  • @user-yt5uv1bf9s
    @user-yt5uv1bf9s 10 місяців тому +1

    tnx

  • @priyanshukushwaha6849
    @priyanshukushwaha6849 11 місяців тому

    Thanks mam

  • @somshekharswami7544
    @somshekharswami7544 4 місяці тому

    perfect !

  • @er.guruprasath9547
    @er.guruprasath9547 10 місяців тому

    thanks a lot
    working fine...

  • @ArifulIslamAshik-ry9bz
    @ArifulIslamAshik-ry9bz 9 місяців тому

    helps a lot

  • @bubainath246
    @bubainath246 11 місяців тому

    Thanks

  • @thothios3468
    @thothios3468 11 місяців тому +1

    thank you!

  • @MU-si-CK
    @MU-si-CK 9 місяців тому +1

    Mongo compass not open when imstall done

  • @abalone589
    @abalone589 8 місяців тому

    thanksss👍👍👍👍

  • @rabeehnp6795
    @rabeehnp6795 11 місяців тому +1

    mongodb server is running in Services but "mongosh" command is not working in cmd

    • @CSCORNERSunitaRai
      @CSCORNERSunitaRai  11 місяців тому

      What error it is giving?

    • @bindumadhaviv
      @bindumadhaviv 10 місяців тому

      @@CSCORNERSunitaRai command not found

    • @juanpipregliasco7333
      @juanpipregliasco7333 9 місяців тому

      @@bindumadhaviv Hello, move the files from mongodb server (bin) to mongodb (bin), it worked for me

    • @juanpipregliasco7333
      @juanpipregliasco7333 9 місяців тому

      @@bindumadhaviv Sorry i mean mongosh to mongodb

  • @75dhruvkhanna92
    @75dhruvkhanna92 10 місяців тому

    thanks

  • @swatigoel9182
    @swatigoel9182 Рік тому +1

    Why mongodb is not present in program files?

  • @jetlinkarkha9659
    @jetlinkarkha9659 8 місяців тому

    After every thing Done i got error in mongosh ,my mogod working but not mongosh please help me