How to install MongoDB 6.0.4 on Windows 11 | Install MongoDB 6.0.4 & Mongo Shell | MongoDB Tutorial

  Рет қаралды 13,819

CS CORNER Sunita Rai

CS CORNER Sunita Rai

Күн бұрын

In this video, I am going to show How to Install MongoDB 6.0.4 Community Edition on Windows 10/11. 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.insert({"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
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 KZbin 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 6.0.4,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!

Пікірлер: 48
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Got a question on this topic? Please share through comments or reach us on telegram t.me/cscorner
@Raj-iz9uz
@Raj-iz9uz Жыл бұрын
Thanks a lot mam.. Awesome tutorial with superb explanation.. works perfectly.. 100% going to share it..
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Glad you liked it 😊 Thank you so much for sharing 😇🤩
@kishorekumarparthiban5373
@kishorekumarparthiban5373 Жыл бұрын
i have this error MongoNetworkError: connect ECONNREFUSED 127.0.0.1:27017 on cmd while mongosh command
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
It means your mongo server not running
@motaharbg7218
@motaharbg7218 Жыл бұрын
Maam, thanks a lot for this video. I subscribed to your channel. I got the message Waiting for connections","attr":{"port":27017,"ssl":"off"}}. Need your help.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Check which application running on this port
@with_iheemah
@with_iheemah Жыл бұрын
This is perfectly explained, it works perfectly
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome👍please subscribe😊
@123rajat.sharma
@123rajat.sharma Жыл бұрын
Anyone getting error after running the command mongosh --> check the path in the environment and close the cmd and start again.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Check environmental variable path
@tarun305
@tarun305 Жыл бұрын
It's just stuck over the green bar for quite long time
@zetalukiest8100
@zetalukiest8100 Жыл бұрын
A perfect tutorial for mongoDB beginners. But i didn't expected that installing mongoDB was so long 😫🥱. Any way thank you for this video
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Glad my video helped you😊Please subscribe
@RishiVS-i8g
@RishiVS-i8g Жыл бұрын
hello it just a waste of time but hardwork never failure
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
My video didn't helped u?
@harshithajs5179
@harshithajs5179 Жыл бұрын
It's perfectttttttttt........ ❤❤❤❤
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Thank u! Please subscribe👍
@zephraim4733
@zephraim4733 Жыл бұрын
Tk, for slow and clear
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Glad you liked it😊 plz subscribe😊
@itrichasingh2523
@itrichasingh2523 Жыл бұрын
Thank you ma'am very helpful vedio I think perfect vedio for mongoDB installation.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Glad you liked it😊 plz subscribe😊
@Adarshabinash
@Adarshabinash Жыл бұрын
Maam I m facing some errors..when I am trying to use mongosh in command shell it says not recognised...any advice..I have set env path and made the folder as u said in cdrive..still getting this
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Check path in environmental variable
@jitendralekhwani5243
@jitendralekhwani5243 Жыл бұрын
@@CSCORNERSunitaRai I am also getting the same error while accessing the mongosh in cmd I have checked the path and it is correct. the error type is mongo network error
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
If u R getting command not recognized then U need to set path in environmental variable.
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
@@jitendralekhwani5243 If u R getting command not recognized then U need to set path in environmental variable
@ubaidnaeem3861
@ubaidnaeem3861 Жыл бұрын
I am getting the error 'mongo is not recognize as the internal or external program' and i have set the path in environment variable but still it give me error
@ubaidnaeem3861
@ubaidnaeem3861 Жыл бұрын
mam i enter the command 'mongo' it says mongo is not recognize the internal or external drive i think this command is not working in this version
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Did you set path in environmental variable
@ravindrapunekar8433
@ravindrapunekar8433 Жыл бұрын
maam, after downloading mongodb compass, i cannot see it in program files
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
U need to search mongodb compass
@santoshgonnar8
@santoshgonnar8 Жыл бұрын
A perfect tutorial for mongoDB beginners. It Helps me a lot .
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome👍
@puspendusaha864
@puspendusaha864 Жыл бұрын
Ma'am how to run in mongosh???
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Watch last part of video I hv shown how to run queries
@rakeshkumarparida98
@rakeshkumarparida98 Жыл бұрын
Thank you so much
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're most welcome
@maddytej4266
@maddytej4266 Жыл бұрын
Thanks mam
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome!👍please subscribe
@abhaytiwariiit-ism30
@abhaytiwariiit-ism30 Жыл бұрын
Thanks :)
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
Welcome!
@pawanpokhriyal1011
@pawanpokhriyal1011 Жыл бұрын
Thanks 🙏
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You’re welcome 😊
@tarunrawal9950
@tarunrawal9950 Жыл бұрын
Thank you ma'am it really helped a lot
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome👍 please subscribe
@-SSuryateja
@-SSuryateja Жыл бұрын
thanks from bottom of my heart mam❤‍🩹
@CSCORNERSunitaRai
@CSCORNERSunitaRai Жыл бұрын
You're welcome ☺👍Please subscribe
How to Uninstall MongoDB on Windows 10 [2023] |  MongoDB Uninstallation
1:59
CS CORNER Sunita Rai
Рет қаралды 4,4 М.
How Strong is Tin Foil? 💪
00:26
Preston
Рет қаралды 138 МЛН
ДЕНЬ УЧИТЕЛЯ В ШКОЛЕ
01:00
SIDELNIKOVVV
Рет қаралды 2,9 МЛН
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 120 МЛН
Learn MongoDB in 1 Hour 🍃
1:00:00
Bro Code
Рет қаралды 1 МЛН
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 50 М.
How to install MongoDB 7 on Windows 10/11 - In Tamil
8:45
Web Concepts Tamil
Рет қаралды 3,5 М.
MongoDB in 100 Seconds
2:27
Fireship
Рет қаралды 1 МЛН
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 197 М.
Mongo command is not working/found in MongoDB 6.0+ || MongoDB error fix
11:46