当前位置:网站首页>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
边栏推荐
- 【:: 是什么语法?】
- 視覺滾動[反差美]
- 【自学unity2d传奇游戏开发】地图编辑器
- CCR coin frying robot: the boss of bitcoin digital currency, what you have to know
- 一部完整的游戏,需要制作哪些音乐?
- Elasticsearch Part 6: aggregate statistical query
- C#和C/C++混合编程系列5-内存管理之GC协同
- Look! Internet, e-commerce offline big data analysis best practice! (Internet disk link attached)
- Interpretation of Cocos creator source code: engine start and main loop
- Contract trading system development | construction of smart contract trading platform
猜你喜欢

【字节跳动 秋招岗位开放啦】Ohayoo!放学别走,我想约你做游戏!!!

【ElasticSearch搜索引擎】

Filecoin has completed a major upgrade and achieved four major project progress!

image operating system windows cannot be used on this platform
![[Xinge education] poor learning host computer series -- building step 7 Simulation Environment](/img/f8/4bb6f887d56a7a18eb55cbec579204.jpg)
[Xinge education] poor learning host computer series -- building step 7 Simulation Environment

【:: 是什么语法?】

An article takes you to understand CSS gradient knowledge

嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:王涛

How does filecoin's economic model and future value support the price of fil currency breaking through thousands

每个大火的“线上狼人杀”平台,都离不开这个新功能
随机推荐
2020年第四届中国 BIM (数字建造)经理高峰论坛即将在杭举办
【自学unity2d传奇游戏开发】如何让角色动起来
How does filecoin's economic model and future value support the price of fil currency breaking through thousands
Basic usage of GDB debugging
How to play sortable JS vuedraggable to realize nested drag function of forms
StickEngine-架构12-通信协议
Ronglian completed US $125 million f round financing
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
The dynamic thread pool in Kitty supports Nacos and Apollo multi configuration centers
git远程库回退指定版本
GUI engine evaluation index
What are the criteria for selecting a cluster server?
視覺滾動[反差美]
Read the advantages of Wi Fi 6 over Wi Fi 5 in 3 minutes
What course of artificial intelligence? Will it replace human work?
C + + and C + + programmers are about to be eliminated from the market
Use modelarts quickly, zero base white can also play AI!
如何在终端启动Coda 2中隐藏的首选项?
Will blockchain be the antidote to the global epidemic accelerating the transformation of Internet enterprises?
(1) ASP.NET Introduction to core3.1 Ocelot