Sir, please starting mein aapne 3 terminal mein 3 badi badi process chalu ki thi jisse pura terminal bhar gya tha, unn process ke baare mein bataiye, woh joh background mein chl rhi thi, please and really loved the video, I was trying to do this from last 2 days and now I finally did it because of you❤
I followed steps you mentioned in the video but the step at 15:55 is not working mongod --port 27017 --dbpath "C:\data\db" --replSet rs0 --bind_ip localhost After this command, my Command Prompt is running endlessly in a loop... no matter how much i wait it keeps on running... I have to close it using Ctrl + C and even after repeating the same steps the problem is still there. I tried reinstalling MongoDB completely after completely removing all MongoDB files from my pc but it still gives same problem. If you know about this issue then please let me know.
@@stackwisedev no... Replica sets weren't created at all... Using rs.initiate() command i was able to switch to rs0 but replicas weren't created at any port
Few days ago I tried creating a replica set and got the same issue back then as well. I uninstalled MongoDB completely from the system and deleted all the files and reinstalled and tried again but was giving the same issue... Today I tried your method on another freshly installed MongoDB but still the same issue
Hello, Do you know any way to transfer data of all collection from one db to another db in single cluster using mongo atlas? I don't want to use monogdump and store. Please reply
Thank you, You explain everything in a very simple and understandable way. Can you please create a video or help me in how to transfer database(mongodb) from local to the vps server.
When I'm starting the replica set in MongoDB in windows, then in the task manager the original MongoDB stopped. when I try to run the task again it doesn't work. Because of that I can't access the database and I can't do anything. And when I close the replica set and again start the server the task manager and mongoDB service has start running and it connect to the original MongoDB
when i try to edit in mongod file after giving permission i applied the changes but mongoDB server wont start ,when i remove that changes then server got started ...?facing issue!!
I have a replica set: 1 primary & 2 secondaries. I want to set read preference mode to check read operations. In my use case, I open 3 nodes in 3 mongosh terminal. I used to think read preference mode is synced between nodes, but I have to set it separately. In addition, even I set 'secondary' mode, primary node still can read data. Therefore, I wonder how read preference modes really work? Thank you!
This is very easy. Latest drivers normally reads from primary but if you have set secondary and still reading from primary... There may be the latency of your secondary is higher than primary or may be there is some issue with the health of secondary as they use hadged reading... Check status using rs.status().. if still problem then share status pics and more info on my insta account thanks.....
Excellent bro, you explained in very simplest way ❤❤
Very good explanations with clear demo of steps . Thank you for sharing the knowledge with us
Glad it helpful to you
Nice, everything is working. I'm not strong in mongodb and spend two days to find solution, but it was ez)
Glad it helpful for you
Great brother ❤
just founded one more good teacher
❤️
it was a terrific explanation thank you for making this easy
Glad it helped ☺️
Thank you very much bhai , bahut hi achha aur detailed video tha aapke sikane ka method bohot accha hai please carry on
Thanks k apko video pasand aai ❤️
You did a great job and deserve a subscribe to watch your more videos. Thank You !
Thanks ❤️
Sir, please starting mein aapne 3 terminal mein 3 badi badi process chalu ki thi jisse pura terminal bhar gya tha, unn process ke baare mein bataiye, woh joh background mein chl rhi thi, please and really loved the video, I was trying to do this from last 2 days and now I finally did it because of you❤
You welcome ❤️ may agli video may explain kar doo ga....
You are improving the quality. keep it up 👍
clear concepts as usual 😍😍😍😍
I followed steps you mentioned in the video but the step at 15:55 is not working
mongod --port 27017 --dbpath "C:\data\db" --replSet rs0 --bind_ip localhost
After this command, my Command Prompt is running endlessly in a loop... no matter how much i wait it keeps on running... I have to close it using Ctrl + C and even after repeating the same steps the problem is still there. I tried reinstalling MongoDB completely after completely removing all MongoDB files from my pc but it still gives same problem. If you know about this issue then please let me know.
Is replica set working while process is executing endlessly in cmd?
@@stackwisedev no... Replica sets weren't created at all... Using rs.initiate() command i was able to switch to rs0 but replicas weren't created at any port
Few days ago I tried creating a replica set and got the same issue back then as well. I uninstalled MongoDB completely from the system and deleted all the files and reinstalled and tried again but was giving the same issue... Today I tried your method on another freshly installed MongoDB but still the same issue
This issue is not related to uninstall mongodb... Please share some logs on Instagram with me so that I'll be able to find solution for that
@@stackwisedev yupp... Sure thing...
very detailed and informative...
cool one video on replica find yet on youtube
Hello, Do you know any way to transfer data of all collection from one db to another db in single cluster using mongo atlas?
I don't want to use monogdump and store.
Please reply
In mongo atlas there is no such option
Thank you, You explain everything in a very simple and understandable way.
Can you please create a video or help me in how to transfer database(mongodb) from local to the vps server.
I'll upload one...
Bro i want to ask that if I shut down my laptop and then on it do I have to do this process like starting replica set in command prompt ??
Yes brother it's just a local server demonstration
When I'm starting the replica set in MongoDB in windows, then in the task manager the original MongoDB stopped.
when I try to run the task again it doesn't work. Because of that I can't access the database and I can't do anything.
And when I close the replica set and again start the server the task manager and mongoDB service has start running and it connect to the original MongoDB
Did you follow the steps in video?
when i try to edit in mongod file after giving permission i applied the changes but mongoDB server wont start ,when i remove that changes then server got started ...?facing issue!!
Can you share your replication configurations written in file
Transaction kaise use karre with local database
Very helpful
very helpful thank you sir ❤❤
Transaction ke liye ek video banao please
Soon brother, working on latest topics
Can you please create a video for mongodb replication with different host machines and authentication enabled.
Sure....
subscribed.🤘
how will you write application logic if some replica fails?
If inside mongodb you can use mongodb tools... But if an application you can use backend technology like nodejs
terminal close krne pr replica session close toh nahi hoga?
Close hoga agar apka replica ksii server per nhi ho
Thank you so much...
How to use Security for authorization enable with these replicas config
Simple username password or keyfikes
I noticed that my old database got deleted. Please explain
Do you want to get it back or what?
make a detailed video on sharded clusters
getting error when runnig mongod --port 27017 --dbpath "C:\data\db" --replSet rs0 --bind_ip localhost
Check your replica configuration and use 127.0.0.1 instead of localhost
Please help me mongod ke file open nahi ho raha hai notepad me
Us ko administrator k option k sth open kry
Administrator as run ke sath
Yes
@@stackwisedev nahi ho raha hai cut ja Raha hai
Come to insta or LinkedIn
excelente capo!!!
Bhaiya shopify aap development me backend (modal, controller, Authoitcation) kaha par banye or API kaha par likhe bana do please video
Go ahead mongodb DBA tutorial realtime make video
I have a replica set: 1 primary & 2 secondaries. I want to set read preference mode to check read operations.
In my use case, I open 3 nodes in 3 mongosh terminal. I used to think read preference mode is synced between nodes, but I have to set it separately. In addition, even I set 'secondary' mode, primary node still can read data. Therefore, I wonder how read preference modes really work?
Thank you!
This is very easy. Latest drivers normally reads from primary but if you have set secondary and still reading from primary... There may be the latency of your secondary is higher than primary or may be there is some issue with the health of secondary as they use hadged reading... Check status using rs.status().. if still problem then share status pics and more info on my insta account thanks.....
@@stackwisedev Thank you for your help, I will check and maybe contact you later
please make a video to migration mongo to mongo and pgadmin to mongo
Ok dear...
mongod config file save nahi ho paya
Privileges file ko day
something big error this is
Please bana do bhai🙏🙏🙏
❤❤