当前位置:网站首页>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
边栏推荐
猜你喜欢
事务的本质和死锁的原理
Markdown tricks
Will blockchain be the antidote to the global epidemic accelerating the transformation of Internet enterprises?
C#和C/C++混合编程系列5-内存管理之GC协同
Axios learning notes (2): easy to understand the use of XHR and how to package simple Axios
(1) ASP.NET Introduction to core3.1 Ocelot
Diamond standard
Unity性能优化整理
嘉宾专访|2020 PostgreSQL亚洲大会阿里云数据库专场:曾文旌
Summary of front-end performance optimization that every front-end engineer should understand:
随机推荐
[Xinge education] poor learning host computer series -- building step 7 Simulation Environment
hdu3974 Assign the task線段樹 dfs序
Flink's datasource Trilogy 2: built in connector
Bitcoin once exceeded 14000 US dollars and is about to face the test of the US election
Look! Internet, e-commerce offline big data analysis best practice! (Internet disk link attached)
What is alicloud's experience of sweeping goods for 100 yuan?
html+vue.js 實現分頁可相容IE
小游戏云开发入门
事件监听问题
Diamond standard
(1) ASP.NET Introduction to core3.1 Ocelot
ES6 learning notes (3): teach you to use js object-oriented thinking to realize the function of adding, deleting, modifying and checking tab column
A small goal in 2019 to become a blog expert of CSDN
C語言I部落格作業03
代码生成器插件与Creator预制体文件解析
Humor: hacker programming is actually similar to machine learning!
Take you to learn the new methods in Es5
Details of dapr implementing distributed stateful service
美团内部讲座|周烜:华东师范大学的数据库系统研究
JVM内存分配 -Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m