当前位置:网站首页>Mongo user rights login instruction

Mongo user rights login instruction

2020-11-06 21:45:27 Architects who can drive

1. adopt ·ip port Remote connection mongo

./mongo --port 27017 --host 60.11.11.1

2. Choose to use mongo library

use huoli_trip

3. Authority verification

db.auth('username','password')

Example :

版权声明
本文为[Architects who can drive]所创,转载请带上原文链接,感谢