mongoose 连接云库 2020-02-13 MongoDB, 笔记 mongoose 连接云库url里要包含:authSource=admin 123456789// 数据库地址mongo: { uri: 'mongodb://root:xxx@dds-xxx.mongodb.rds.aliyuncs.com:1111,dds-xxx.mongodb.rds.aliyuncs.com:1111/dancingRoad?replicaSet=mgset-xxx&authSource=admin', options: { db: { safe: true } }},