Setting Up a MongoDB Replica Set on Windows

preview_player
Показать описание
Encountering issues with MongoDB transactions on Windows led me to resort to using a MongoDB Atlas URI, but it proved inconvenient for development. In pursuit of an optimal solution, I've resolved to establish a MongoDB replica set on the Windows platform, specifically on localhost. Follow the provided video guide meticulously to replicate this setup, ensuring a seamless experience not just for me but also for my fellow developers. This approach enhances the development environment by enabling efficient use of MongoDB transactions locally.

You will get to know how to Configure primary server with secondary server in this video.

Chapters :-

0:00 start setting up
Рекомендации по теме
Комментарии
Автор

Thank you very much sir. its simple way to set replica.

AkramKhan-ezlr
Автор

Resources link is not accessible, kindly share the link

annamalaiselvarajan
Автор

This node was not started with replication enabled.

when I try running rs.initiate()
Using MongoDB: 7.0.6
Using Mongosh: 2.2.2

harshitpant