摘要: 创建账户 use admin db.createUser( { user: "Admin", pwd: "admin_password", roles: [ { role: "userAdminAnyDatabase", db: "admin" } ] # 指定数据库 } ) 集群模式使用root权 阅读全文
posted @ 2022-01-17 12:31 林宇风 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 原文地址: https://www.jianshu.com/p/e7e70ca7c7e5 1. 集群架构(生产可用) MongoDB机器信息 192.168.252.121 192.168.252.122 192.168.252.123 mongos mongos mongos config ser 阅读全文
posted @ 2022-01-17 11:33 林宇风 阅读(753) 评论(0) 推荐(0) 编辑