当前位置:网站首页>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
边栏推荐
- 大数据处理黑科技:揭秘PB级数仓GaussDB(DWS) 并行计算技术
- MongoDB与SQL常用语法对应表
- Contract trading system development | construction of smart contract trading platform
- Description of phpshe SMS plug-in
- 2020年第四届中国 BIM (数字建造)经理高峰论坛即将在杭举办
- What are manufacturing and new automation technologies?
- Swagger 3.0 brushes the screen every day. Does it really smell good?
- What if the front end doesn't use spa? - Hacker News
- The dynamic thread pool in Kitty supports Nacos and Apollo multi configuration centers
- python100例項
猜你喜欢
For a while, a dynamic thread pool was created, and the source code was put into GitHub
理解格式化原理
Pn8162 20W PD fast charging chip, PD fast charging charger scheme
Outsourcing is really difficult. As an outsourcer, I can't help sighing.
统计项目代码行数
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Look! Internet, e-commerce offline big data analysis best practice! (Internet disk link attached)
Digital city responds to relevant national policies and vigorously develops the construction of digital twin platform
文件过多时ls命令为什么会卡住?
Bitcoin once exceeded 14000 US dollars and is about to face the test of the US election
随机推荐
Digital city responds to relevant national policies and vigorously develops the construction of digital twin platform
Behind the record breaking Q2 revenue of Alibaba cloud, the cloud opening mode is reshaping
华为Mate 40 系列搭载HMS有什么亮点?
Shh! Is this really good for asynchronous events?
Even liver three all night, jvm77 high frequency interview questions detailed analysis, this?
It's time for your financial report to change to a more advanced style -- financial analysis cockpit
What course of artificial intelligence? Will it replace human work?
How does filecoin's economic model and future value support the price of fil currency breaking through thousands
Summary of front-end performance optimization that every front-end engineer should understand:
The legality of IPFs / filecoin: protecting personal privacy from disclosure
GUI engine evaluation index
[efficiency optimization] Nani? Memory overflow again?! It's time to sum up the wave!!
To Lianyun analysis: why is IPFs / filecoin mining so difficult?
JNI-Thread中start方法的呼叫與run方法的回撥分析
华为云微认证考试简介
How about small and medium-sized enterprises choose shared office?
Small program introduction to proficient (2): understand the four important files of small program development
代码生成器插件与Creator预制体文件解析
Flink's datasource Trilogy 2: built in connector
【自学unity2d传奇游戏开发】地图编辑器