mongo-mysql-db Mongo数据库 创建一个管理员用户 db.createUser( { user: "andrea", pwd: "abc123", roles: [{ role: "userAdminAnyDatabase", db: "admin" }, "readWriteAnyDatabase"] } ) 检查当前登录的用户 db.runCommand({connectionStatus: 1}) 创建具有角色的普通用户 e MySQL的