0

连接方式

 mongoose.createConnection('mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][/[database][?options]]',

错误信息:MongoError: no primary found in replicaset
是哪里设置的不对?要怎么查看问题那?