mongodb 验证登录
发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,mongodb 验证登录Start MongoDB without access control.mongod --port 27017 --dbpath /data/db1Connect to th
千家信息网最后更新 2024年09月22日mongodb 验证登录
mongodb 验证登录
Start MongoDB without access control.
mongod --port 27017 --dbpath /data/db1
Connect to the instance.
For example, connect a mongo shell to the instance.
mongo --port 27017
Create the user administrator.
In the admin database, add a user with the userAdminAnyDatabase role. For example, the following creates the user myUserAdmin in the admin database:
use admin
db.createUser(
{
user: "myUserAdmin",
pwd: "abc123",
roles: [ { role: "userAdminAnyDatabase", db: "admin" } ]
}
)
restart mongodb instance
mongod --auth --port 27017 --dbpath /data/db1
mongo --port 27017 -u "myUserAdmin" -p "abc123" --authenticationDatabase "admin"
登录
验证
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
数据库dual是什么功能
给别人软件开发费用怎么算
软件开发的薪水待遇
画一张网络啊网络安全全小镇
六安服务器机柜厂
网络安全专家谈人才
软件开发模块
做软件开发的前景怎么样
扬州网络安全应用
软件开发和重装哪个重要
数据库软件课程设计考试管理系统
光网络技术第五章 课件
sky服务器下载
微擎服务器环境
德州畅想软件开发有限公司
定制网络技术服务套餐
网络安全手抄报内容策划
软件开发项目奖金制度
spss读不出数据库
oracle数据库破解版
一体化机柜服务器
v2x车载终端软件开发
广西钦州网络安全知识竞赛
软件开发和重装哪个重要
怎么在数据库清空用户密码
俄罗斯在软件开发方面很厉害
计算机网络技术np工程师
天津一禾软件开发有限公司
龙华区新一代网络技术开发动态
卫健局网络安全方案