db.changeUserPassword("用户名", "密码")
对于普通的修改密码,可以通过openssl生成随机密码并设置:
openssl rand -base64 48
db.changeUserPassword("reporting", "SOh3TbYhxuLiW8ypJPxmt1oOfL")
按 ⌘K 或 Ctrl+K 快速搜索
db.changeUserPassword("用户名", "密码")
对于普通的修改密码,可以通过openssl生成随机密码并设置:
openssl rand -base64 48
db.changeUserPassword("reporting", "SOh3TbYhxuLiW8ypJPxmt1oOfL")