Replica Set Error Code 76

后端 未结 2 2063
野的像风
野的像风 2021-01-28 17:28

In ref to mongo dba course trying to create replica set as asked shown by instructor in El Capitano (Single machine only), I get following error. I have three members:

2条回答
  •  感情败类
    2021-01-28 18:00

    You are not running replica set with the repl set name.The solution is to set a replication set name in the mongod config file using the paramater --replSet.

    eg) --replSet=test_replica

    Once changes are done in config file restart the server.

提交回复
热议问题