MongoDB - 27017
mongo --host <IP> -u root -p <PASS>
show dbs
use <db_name>
show collections
db.<COLLECTION>.find()
db.<COLLECTION>.find().pretty()
Last updated
Was this helpful?
mongo --host <IP> -u root -p <PASS>
show dbs
use <db_name>
show collections
db.<COLLECTION>.find()
db.<COLLECTION>.find().pretty()
Last updated
Was this helpful?