Tag:Slaveok = false error
-
MongoDb’s “not master and slaveok = false” error and its solution
When using mongodb, there is a “not master and slaveok = false” error because secondary does not allow reading and writing. Because mongodb is the master and backup in the system, switching between the master and backup may also lead to this problem. Replace the IP in the command Mongo — username = root — […]