How to install mongoDB on Windows

  Рет қаралды 108,409

Hitesh Choudhary

Hitesh Choudhary

5 жыл бұрын

Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit...

Пікірлер: 70
@ankit2388
@ankit2388 5 жыл бұрын
Amazing, excited for rest of the series.
@amirdaley2967
@amirdaley2967 4 жыл бұрын
thank you sir that was quick and straight to the point!!
@ravitejraobelle6772
@ravitejraobelle6772 5 жыл бұрын
Thank you Sir, I was eagerly waiting for this video.
@rahulvishwakarma9555
@rahulvishwakarma9555 5 жыл бұрын
Setting up Above link as the environmental variable of windows will make it global and just typing mongo will run the mongoDB server everytime without running it like this .Set Environment like this Go to Control Panel -> System -> Advanced System Setting -> Environmental Variables -> In system variables select Path and edit button at bottom click on new and paste the link and save. Just type mongo in cmd to run it anytime.
@Rohitkumar-ks9io
@Rohitkumar-ks9io 3 жыл бұрын
Note: Put bin folder location in environment variable (Don't put mongo.exe) Example: C:\Program Files\MongoDB\Server\4.4\bin (Replace 4.4 with your current version of mongoDB) By just typing mongo in command prompt, you will be able to use mongo in CLI.
@aishwarya_jamdade
@aishwarya_jamdade 3 жыл бұрын
@@Rohitkumar-ks9io C:\Program Files\MongoDB\Server\4.4\bin\
@sushilbhosale3938
@sushilbhosale3938 3 жыл бұрын
awsome tutorial simple and more informative keep a time of tutorial is less as possible as thank you for help
@khondokerabdullahelkafi6179
@khondokerabdullahelkafi6179 5 жыл бұрын
Sir i have a question and that is Mongo db is a database server right ? so do i need to install a Apache server separately to run my php script ? or mongo dp has a pre installed service same as Xampp ?
@AjayKumar-kg6hm
@AjayKumar-kg6hm 4 жыл бұрын
Do you have latest version download and install steps , pls this vidieo seems old and mongo site doesn't give those steps
@sunnysinha9728
@sunnysinha9728 5 жыл бұрын
Sir i've been watching your videos from a while on mongoDB and i was thinking to use multiple database providers in my project like firebase, parse server, mongoDB.... To make it cost effective... Is it a good practice? Because firebase data storage is free upto a threshold and rest also have some similar conditions. If i distribute my data then it will be great . By the way thank you for all of your contributions i learned a lot from you..
@hetalrajgor6393
@hetalrajgor6393 4 жыл бұрын
Is Mongodb Compass required? If Yes, What is its use? Because, while I am trying to install it on windows it is getting stuck in between because of Mongob Compass.. Any help will be appreciated. Thanks!
@frankdaniel3506
@frankdaniel3506 3 жыл бұрын
Fantastic...which screen share are u using?
@krishnakumarhatele837
@krishnakumarhatele837 5 жыл бұрын
Sir Will you please make 1 single video on how we can use aftereffects project as preset in Android Studio using bodymovin plugin
@srujanreddy3367
@srujanreddy3367 4 жыл бұрын
Hi Hitesh, I want to use this mongoDB server in network. instead of login with the localhost i want to assign a IP address for the can i know how it is?
@poojajain2555
@poojajain2555 3 жыл бұрын
Hello , when I run show db command in mongoshell it shows only local db and one db that I created exam only instead of default ' admin and config db names' please suggest thanks.
@mohammedahtesham2021
@mohammedahtesham2021 3 жыл бұрын
What is the min hardware requirement for installing ? How much ram is needed ?
@poonammahamunkar3281
@poonammahamunkar3281 3 жыл бұрын
Hello sir,After the installation what are the steps to install PHP mongoDB drivers?
@oneough
@oneough 5 жыл бұрын
First like and first comment ... Thanks hitesh ... I am learning a lot from you 😍😍😍
@amitamlan
@amitamlan 5 жыл бұрын
Hey bro, can you suggest some laptops for networking student ?
@poojaholagundhi5930
@poojaholagundhi5930 4 жыл бұрын
helo sir my laptop is of 32bit can you give some links related that will help me plz sir i tried as you said but unable to figure it out [windows 7]
@omdhama3045
@omdhama3045 5 жыл бұрын
Please upload the full course of mongoDB sir reply
@user-mj2lp1ci4i
@user-mj2lp1ci4i 11 ай бұрын
Sir after installation i write the command on command prompt it doesn't respond the same way...some weird messages are there...please someone help
@meghrajpardesi4248
@meghrajpardesi4248 5 жыл бұрын
little bit off topic here .please make a video on your fav. of CES-2019 . #programming Friends
@venkatesh6254
@venkatesh6254 5 жыл бұрын
Thank you Sir❤️
@rajdeepdutta7595
@rajdeepdutta7595 5 жыл бұрын
Thank you sir🙏
@sharmanmaheshwari2819
@sharmanmaheshwari2819 5 жыл бұрын
congrats sir you got 300k subs
@sulthanmogal9692
@sulthanmogal9692 3 жыл бұрын
Bruh..can u giv any suggestion to use mongodb in 32bit
@Github_tech_with_ty
@Github_tech_with_ty 5 жыл бұрын
I just installed it and its requiring me to make a dir....
@niket002
@niket002 5 жыл бұрын
Where do you live if I may ask?
@yurirech9301
@yurirech9301 3 жыл бұрын
Very good
@rafaymaqsood8447
@rafaymaqsood8447 5 жыл бұрын
How to install on Linux?
@TechnologyGanga
@TechnologyGanga 5 жыл бұрын
Love u sir
@tanvirhasanmonir1627
@tanvirhasanmonir1627 4 жыл бұрын
Thank you
@kriskan743
@kriskan743 4 жыл бұрын
it didn't work for me even though i have windows 8
@bankruptanalyst
@bankruptanalyst 5 жыл бұрын
Thanks sir
@supindersingh8882
@supindersingh8882 4 жыл бұрын
You got new subscriber.
@huynhhuunhan6318
@huynhhuunhan6318 5 жыл бұрын
Thanks
@technicalmasterg553
@technicalmasterg553 5 жыл бұрын
Hello sir do you have any free course for flask and django ? What should I learn ? Some say flask is good some say Django . Please tell me
@siddhantkumar7036
@siddhantkumar7036 5 жыл бұрын
Learn nodejs. You'll thank me later
@naresh_deeti
@naresh_deeti 5 жыл бұрын
its not connecting to DB
@jiilaal
@jiilaal 5 жыл бұрын
thanks
@sharmanmaheshwari2819
@sharmanmaheshwari2819 5 жыл бұрын
wow sir
@airxperimentboom
@airxperimentboom 4 жыл бұрын
No added value. I could have done it myself by looking at the mongoDB doc...
@davidmutua6971
@davidmutua6971 5 жыл бұрын
No need to always remember to paste that long "C:\Program Files\MongoDB\Server\4.0\bin\mongo.exe" Instead Add it into your Environmental Variables Path. Just like this guys: 1. Search for "edit the system environment variables" on your windows. 2. Click on the Environment Variables button at the bottom last of the opened window. 3. Double click the Path and Click on New to add a new Variable. 4. Paste "C:\Program Files\MongoDB\Server\4.0\bin" in there and click OK till all windows are closed. 5. Then open your CMD and now type "mongo" alone. Voila you done!! :)
@drivenbycuriosity
@drivenbycuriosity 3 жыл бұрын
I have just installed MongoDB(4.4.1). It looked like installation was stuck at "Installating MongoDB Compass... (this may take a few minutes)" It took almost ~35 mins for completing installation, meanwhile i was in little worry searching on internet what to do!!! But, do not worry about this if you face the same, it was an issue in earlier versions and seems to be fixed.
@mohammedahtesham2021
@mohammedahtesham2021 3 жыл бұрын
What is the min hardware requirement for installing ? How much ram is needed ?
@drivenbycuriosity
@drivenbycuriosity 3 жыл бұрын
​@@mohammedahtesham2021 I too had googled for this details before installation, but couldn't find much. Actually, it is not much of a big software. that .exe file was around ~250MB, after instillation, it took around ~800MB disk space. coming to the RAM, it should work pretty well on 4GB, but mine is 8GB. I would suggest separate compass installation when needed.
@sahilGupta217
@sahilGupta217 5 жыл бұрын
Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed: SocketException: Error connecting to 127.0.0.1:27017 :: caused by :: No connection could be made because the target machine actively refused it. Any idea?
@sahilGupta217
@sahilGupta217 5 жыл бұрын
Solved. Created "DB" folder in the created "DATA" folder then it worked. :)
@Desireanshu
@Desireanshu 4 жыл бұрын
create a folder "db" inside "data" folder inside C: It should look like this "C:\data\db". Open cmd. type "mongod" press enter. keep it open. Now open another cmd and type "mongo" press enter. IT will run as expected
@arpanshrestha468
@arpanshrestha468 3 жыл бұрын
For python what is best mysql or mongodb
@Harsh-fd4ml
@Harsh-fd4ml Жыл бұрын
If your using django then use postgresql or mysql.
@suryamanian
@suryamanian 3 жыл бұрын
"C:\Program Files\MongoDB\Server\4.4\bin\mongo.exe" Just saving it here.
@pratikgupta7373
@pratikgupta7373 5 жыл бұрын
Sir flutter and xd series
@beingprogrammer5074
@beingprogrammer5074 3 жыл бұрын
I got it when you blur the screen in C Drive😂😂
@jonsnow9758
@jonsnow9758 4 жыл бұрын
Imp instruction : 6:46
@rajendramore5742
@rajendramore5742 4 жыл бұрын
I download zip file so i can install..
@lewisnt_
@lewisnt_ 3 жыл бұрын
didnt work
@gauravnagar3712
@gauravnagar3712 5 жыл бұрын
I have window 7 32bit still using mongodb in it . :-P
@muleyshubham
@muleyshubham 5 жыл бұрын
Please please tell me How you installed on 32 bit? I want to install on 32 bit. Please share link.
@AbhishekChoudhary-tu7ig
@AbhishekChoudhary-tu7ig 3 жыл бұрын
05:00 C:\Users\saksham> It's his brother's laptop :P
@govindbagla3599
@govindbagla3599 5 жыл бұрын
services don't start?? its showing error "Service 'MongoDB server failed to start' verify that you sufficient privilege to start system services"
@naresh_deeti
@naresh_deeti 5 жыл бұрын
same problem bro
@govindbagla3599
@govindbagla3599 5 жыл бұрын
@@naresh_deeti requirements server 2012 if don't just installed version 3.6
@HiteshChoudharydotcom
@HiteshChoudharydotcom 5 жыл бұрын
Privilege means, you need to be admin or run cmd as admin.
@yashjadhav3605
@yashjadhav3605 5 жыл бұрын
@@HiteshChoudharydotcom sir i tried this but still its not working i am getting the same error. After running the command "C:\Program Files\MongoDB\Server\4.0\bin\mongo.exe" I am getting "the application was unable to start correctly (0xc000007b)." what should i do?
@mahendrasrivastava9885
@mahendrasrivastava9885 5 жыл бұрын
Same problem. That's why I hv stopped watching this mongodb series. Plz make a vedio on this issue.
@prudhvir3ddy
@prudhvir3ddy 5 жыл бұрын
select custom while installing , it can provide better knowledge on things to viewers
@cachuelasaimonrobertl.455
@cachuelasaimonrobertl.455 4 жыл бұрын
indian markiplier
@prerakhere
@prerakhere 5 жыл бұрын
First
Create and Read operation in MongoDB
16:35
Hitesh Choudhary
Рет қаралды 49 М.
Install MongoDB 5.0.9 on Windows 10
5:05
Amit Thinks
Рет қаралды 13 М.
Русалка
01:00
История одного вокалиста
Рет қаралды 4,7 МЛН
How does mongoDB works
11:23
Hitesh Choudhary
Рет қаралды 75 М.
How to install mongoDB on MAC
12:43
Hitesh Choudhary
Рет қаралды 87 М.
Grouping in mongodb
24:51
Hitesh Choudhary
Рет қаралды 22 М.
What is mocha and need of mocha in mongodb
10:40
Hitesh Choudhary
Рет қаралды 34 М.
Getting more data in #mongodb
9:55
Hitesh Choudhary
Рет қаралды 15 М.
Getting Started with MongoDB
8:01
Piyush Garg
Рет қаралды 48 М.
ObjectID and BSON in mongoDB
12:49
Hitesh Choudhary
Рет қаралды 42 М.
One to one relation in mongo database with id
9:37
Hitesh Choudhary
Рет қаралды 41 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 483 М.