use CREDIT_MP_OFFLINE db.createUser({user:'test',pwd:'123456',roles:[{role:'dbOwner', db:'testdb'}]}); db.auth('test','123456')
本文来自博客园,作者:硅谷工具人,转载请注明原文链接:https://www.cnblogs.com/30go/p/12100699.html