I have migrated my database from parse.com to monogodb. Through my MAC machine terminal, I am able to export/import data to mongodb which is reside on mongo server.
How can I drop table or delete rows from the server side database through terminal commands?
I have following commands in mongo/bin folder. Here I have attached the snapshot.
To Connect with the remote mongo database through terminal this is the correct command:
$./mongo ds012345.mlab.com:12345/dbName -u username -p password
You need to run this command in ./mongo/bin folder.
and after this command connection will be established and you can run mongo shell commands on remote database.