慕慕0219145
2019-04-22 17:16
dbpath=/usr/local/mongodb/mongodbserver1/data
logpath=/usr/local/mongodb/mongodbserver1/logs/mongodb.log
bind_ip=0.0.0.0
port=27017
pidfilepath=/usr/local/mongodb/mongodbserver1/data/rs1.pid
fork=true
replSet = rs1
keyFile=/usr/local/mongodb/keyfile/key
setParameter=enableLocalhostAuthBypass=true
show dbs
报错
not master and slaveOk=false
~
~
~
没有这个主线和slaveOk
版本的问题吧,
MongoDB复制集—复制集安全
4303 学习 · 13 问题
相似问题