Mongo数据库添加用户
//添加用户
db.addUser("test","123456");
//认证用户
db.auth("test","123456");
//查看用户是否添加
db.system.users.find();
//添加用户
db.addUser("test","123456");
//认证用户
db.auth("test","123456");
//查看用户是否添加
db.system.users.find();
暂无评论。
评论功能维护中,当前仅展示历史评论。