mongodb client

mongo  <hostname>:<port>

(this will open the mongo client)

you can then connect to the db using:

use  <dbname>

and then authenticate using:

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


via: https://www.quora.com/Is-there-a-MongoDB-client-application-for-Linux

猜你喜欢

转载自blog.csdn.net/ambulong/article/details/54928335