当前位置:网站首页>mongo 用户权限 登录指令
mongo 用户权限 登录指令
2020-11-06 21:45:00 【会开车的架构师】
1.通过·ip 端口 远程连接mongo
./mongo --port 27017 --host 60.11.11.1
2.选择使用的mongo库
use huoli_trip
3.权限验证
db.auth('username','password')
示例:

版权声明
本文为[会开车的架构师]所创,转载请带上原文链接,感谢
https://my.oschina.net/u/4629483/blog/4529699
边栏推荐
- What knowledge do Python automated testing learn?
- 大道至简 html + js 实现最朴实的小游戏俄罗斯方块
- Uncle Bob: the software architecture is similar to a house. Object oriented is the structure of the house, and the water pipe is functional programming
- 【转发】查看lua中userdata的方法
- 【字节跳动 秋招岗位开放啦】Ohayoo!放学别走,我想约你做游戏!!!
- 【自学unity2d传奇游戏开发】地图编辑器
- An article will introduce you to HTML tables and their main attributes
- What is alicloud's experience of sweeping goods for 100 yuan?
- Isn't data product just a report? absolutely wrong! There are university questions in this category
- Kubernetes and OAM to build a unified, standardized application management platform knowledge! (Internet disk link attached)
猜你喜欢

(1) ASP.NET Introduction to core3.1 Ocelot

What are the criteria for selecting a cluster server?

CloudQuery V1.2.0 版本发布

Flink's datasource Trilogy 2: built in connector

大数据处理黑科技:揭秘PB级数仓GaussDB(DWS) 并行计算技术
![PHP application docking justswap special development kit【 JustSwap.PHP ]](/img/3b/00bc81122d330c9d59909994e61027.jpg)
PHP application docking justswap special development kit【 JustSwap.PHP ]

理解格式化原理

事务的本质和死锁的原理

Some operations kept in mind by the front end foundation GitHub warehouse management

检测证书过期脚本
随机推荐
Read the advantages of Wi Fi 6 over Wi Fi 5 in 3 minutes
【转发】查看lua中userdata的方法
Network security engineer Demo: the original * * is to get your computer administrator rights! [maintain]
GUI engine evaluation index
Even liver three all night, jvm77 high frequency interview questions detailed analysis, this?
For a while, a dynamic thread pool was created, and the source code was put into GitHub
理解格式化原理
Swagger 3.0 brushes the screen every day. Does it really smell good?
前端未來趨勢之原生API:Web Components
How about small and medium-sized enterprises choose shared office?
2020年第四届中国 BIM (数字建造)经理高峰论坛即将在杭举办
大会倒计时|2020 PostgreSQL亚洲大会-中文分论坛议程安排
An article will take you to understand CSS alignment
消息队列(MessageQueue)-分析
Basic usage of GDB debugging
What knowledge do Python automated testing learn?
Helping financial technology innovation and development, atfx is at the forefront of the industry
Interpretation of Cocos creator source code: engine start and main loop
大数据处理黑科技:揭秘PB级数仓GaussDB(DWS) 并行计算技术
Some operations kept in mind by the front end foundation GitHub warehouse management