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!
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......
Glad you liked my video! Please subscribe
I have watched lot of videos for mongoDB installation but your explanation is very simple 😊😊
Glad you liked it!
You're welcome 😊 Please subscribe
Simple explanation and to the point. Thank you!
Glad you liked it! Please subscribe
Very clear explanation. I've tried at least 5 other tuts and nothing worked as well as yours. Thanks. Gonna sub your channel.
Thanks for the sub!
Glad you liked my video👍🤗
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.❤❤❤❤❤❤❤❤❤❤❤❤❤❤
Glad I could help 😊 please subscribe 👍
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!
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...
Glad you liked it!
You're welcome 😊 Please subscribe
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
Te amo! 💖 No sabes como sufrí tratando de instalarlo sin éxito. Me ayudaste a lograrlo!
Glad my video helped u! Please subscribe
Finally a helpful video for Windows user. Thank You mam for saving my day. I have wasted 2 days for this. 😇
Thank you very much for this video. I regret for finding this video late.
Glad you liked my video! Please subscribe
Thank you, madam. It was a very nice and simple explanation.
Glad you liked it
You're welcome! Please subscribe😊
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 🙌🙌
Glad my video helped u! Please subscribe👍
@@CSCORNERSunitaRai don't worry mam I have liked and subscribe when I watched first time, it's my honour i learnt something by you 🌸
Thank you very much 😢😢😢😢 after soo much headache it actually work
Glad you liked my video! Please subscribe
thanks mam i struggled a lot but finally i got the solution
You are welcome 😊 Please subscribed
Thank you, was having a fight with installation and now completed.
Your're welcome! Please subscribe
Thanks mam ❤ its realy esay i have face so problems while installing mongodb but your video help me so thanks
Glad my video helped you! Please subscribe
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.
realy worth it . mam you did very well
Thank you so much👍
Thank you Ma’am…very useful video 👍
Finally some helpful vedio ❤️
Glad you liked my video! Please subscribe
Thanks you so much ma'am this is very useful
Most welcome 😊 please subscribe
i was stuck for an hour but after your video,i get out of it, thanks a lot
Glad my video helped you! Please subscribe
very useful and simple to understand. Thank You!!
Thx for your vid, it helped me a lot 👋👍
Glad my video helped u! Please subscribe👍
mongo dB installation is very easy only after ur explanation
You solved my problem thanks for that
You’re welcome 😊Please subscribe👍
Thank you so much for providing this video mam.
You're welcome! Please subscribe👍
@@CSCORNERSunitaRai I already subscribed your channel mam.
thnks sister it is fully working
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 ?
Do u hv any other version of mongodb already installed
@@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
You just saved my lot of time. Thank you!
it was a great explanation i was struggling with the set up part
Glad you liked my video! Please subscribe
Thank you mam your video helped me a lot
Thank you maam, very helpful video
Glad my video helped you! Please subscribe
so nice explanation
Thank you👍 Please subscribe😊
omg thank you ma'am, your explanation so easy to following🤩
Glad my video helped you! Please subscribe
Nice, its work....
Most welcome 😊Please subscribe
U have a new subscriber here
Thanks a lot
Thanks for the sub!
You're welcome 👍 Please subscribe😊
Without confusion all doubt clear 😉 thanks 🙏 ma'am 💗
Glad my video helped you! Please subscribe
@@CSCORNERSunitaRai ma'am how I can joine offline classes?
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.
Check out this link
ua-cam.com/video/-Sl8NjvJmz4/v-deo.html
For error u can check
ua-cam.com/video/Cl_S74k3H8k/v-deo.html
Thanks mam 😊
You're welcome! Please subscribe👍
Its really helpful video Thankyou mam ❤
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.
Did you set path in environmental variable?
@@CSCORNERSunitaRai yes ma'am for both MongoDB and Shell after extracting the zip in C drive as shown in the video
Thank you very much. Its really work.
Glad my video helped u! Please subscribe
I do suggest improving voice quality it's bit sharp for ears, pretty straight up tutorial tho
Thanks for feedback 😊I'll try
thank you for those esplication 🙂
Thanks mam this is really really helpfull
Glad my video helped you! Please subscribe
Thank you very much
You're welcome 👍 Please subscribe😊
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.
Thanks for liking video!
I have shown mongosh path..please check video again.
Check 05:40
if you download msi file of MongoDB Shell then there is no need to add it in Environment variable
superb explanation
Glad my video helped you! Please subscribe
ThankYou !!! Very Useful Clear
Glad you liked my video! Please subscribe
It helped me a lot. Thank you very much!
Your're welcome! Please subscribe
You are the Great Mam🤩
Good job
Glad my video helped u!
Most welcome 😊Please subscribe
Problem in installation...it didn't move, during the half of the installation
ohh! Was it showing any error?
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
Same here. I'm also figuring out what is happening. Have you found any solution?
Exactly the same( Have you found any solution ???@@impostor444
I am also😰
What a explanation ❤ love you mam
Glad you liked my video! Please subscribe
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
I tried again it's working
Thank you mam you saved me..
Glad my video helped u! Please subscribe👍
thank you madam
@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.😢
U can uncheck the mongodb compass option. Only install server and mobgosh.
If U want compass U can install it later
I didn't got shortcut on desktop. Please help.
That's ok.
U can search and open
@@CSCORNERSunitaRai it says " not available "........... Mam, my mongoDB software is only visible on control panel.
it was really helpful, Thank you
Glad my video helped you! Please subscribe
Great
It was observed, when mouse is clicked, green color circle is coming, what is the software your are using mam .
That's mouse cursor setting.
No extra software
thats amazing ...thank you madam
Glad my video helped you! Please subscribe
It really helped me alot...
Glad my video helped you! Please subscribe
Thanks Ma'am
Wonderful explanation. Saved a lot of time.
Glad it helped!👍Please subscribe😊
Thankyou so much aunty 🙏
Aunty🤣
You're welcome👍 plz subscribe
Thank you❤ very helpful
Glad you liked my video! Please subscribe
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?
Install it separately
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
nice video
thank you very much 100 times
You're welcome! Please subscribe👍
thank you mam ....:)
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".
Was your installation successful?
@@CSCORNERSunitaRai Thank you for replying but I have already solved the error
Please let me know how can you solved the issue ? I'm also facing same issue so want to know the solution
im facing issue while installing, copying files it's struck what to do
everything fine but , when i enter mongosh it will not connect
what error u r getting?
Hello, move the files from mongodb server (bin) to mongodb (bin), it worked for me
Sorry i mean mongosh to mongodb
Really helpful thank you!
Glad my video helped you! Please subscribe
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...!?
for mongodb u don't have to extract becoz its msi, u have to extract for mongosh.
Check video again
@@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.. 🤷♂️🤷♂️
@@SandeepKumar-vw9cn your mongo server running or not
Mongosh is coming error
Not recognised as an internal or external command
Set path of mogosh in environmental variable
@@CSCORNERSunitaRai actually I set a path mam
I follow your vedio..same as you said
maam whether mongo is vaild word in terminal
to check mongo is command line shell that connects to any instance of Mongod
No
Mongod is valid
thanks maam@@CSCORNERSunitaRai
Thank you!
You're welcome!👍Please subscribe😊
Perfect
Thnx
you are awesome ma'ma
Glad my video helped u! Please subscribe👍
thank you man :-)
You're welcome 👍 Please subscribe😊
Install hogya path mein save krdiya phir v terminal pai error aarha hai mongodb -version search krne pai
agar aapne properly set kia hai path to ye error nahi ana chaiye.
Check video again
Also check mongodb services running or not
thank you
tnx
Welcome
Thanks mam
You're welcome!😊 Please subscribe👍
perfect !
You're welcome 👍 please subscribe
thanks a lot
working fine...
Glad my video helped you! Please subscribe
helps a lot
Glad my video helped you! Please subscribe
Thanks
thank you!
You're welcome!
Mongo compass not open when imstall done
Is it showing any error?
thanksss👍👍👍👍
You're welcome!👍Please subscribe😊
mongodb server is running in Services but "mongosh" command is not working in cmd
What error it is giving?
@@CSCORNERSunitaRai command not found
@@bindumadhaviv Hello, move the files from mongodb server (bin) to mongodb (bin), it worked for me
@@bindumadhaviv Sorry i mean mongosh to mongodb
thanks
Why mongodb is not present in program files?
Hmm
Check program filesx 86
After every thing Done i got error in mongosh ,my mogod working but not mongosh please help me
What error U r getting