Robomongo: Open Connection via command line

Created on 4 May 2015  路  7Comments  路  Source: Studio3T/robomongo

I'm unsure if this is available or not (can't find it anywhere), but I would like to be able to open a connection through command line. It would open Robomongo and connect to the provided server.

ex. robomongo.exe -s myhost.com:27017 -u mongoUser -p mongoPass

The reason I ask for this is because I am building an application that monitors our MongoDB databases and would like to have a button that would open Robomongo to the selected server.

feature-request major

Most helpful comment

This is still a needed feature. In my case our passwords are dynamically generated. So, I need to automate the connection to avoid a lot of wasted time manually retrieving the password and manipulating the Robo GUI to create a connection with that password.

It would be great if the command line arguments borrowed from the official mongo shell at https://docs.mongodb.com/manual/reference/program/mongo/ That way Robo3T could be a drop-in replacement in scripts and would keep us from having to memorize yet another set of arguments.

Ideally it would support URI-style connection strings (without requiring a flag) for mongodb:// and mongodb+srv:// formats with options (see https://docs.mongodb.com/manual/reference/connection-string/) as well as the basic arguments: --host, --port, --username (-u), --password (-p), and <dbname>.

All 7 comments

Could it be implemented, please? Similar use case here.

+1 and take it one step further and allow the query to be specified as well.

Could make our support agents a lot more productive this way.

Hi guys, thanks a lot for your interest in Robomongo. We have reconsidered this feature and put into our priority list. We hope to include it in the next releases soon.

Has anything come from this? I'd be interested in this feature as well.

Hi @jmromrell , thanks for your interest. Unfortunately not yet, current big task is providing MongoDB 3.4 support ASAP.

This is still a needed feature. In my case our passwords are dynamically generated. So, I need to automate the connection to avoid a lot of wasted time manually retrieving the password and manipulating the Robo GUI to create a connection with that password.

It would be great if the command line arguments borrowed from the official mongo shell at https://docs.mongodb.com/manual/reference/program/mongo/ That way Robo3T could be a drop-in replacement in scripts and would keep us from having to memorize yet another set of arguments.

Ideally it would support URI-style connection strings (without requiring a flag) for mongodb:// and mongodb+srv:// formats with options (see https://docs.mongodb.com/manual/reference/connection-string/) as well as the basic arguments: --host, --port, --username (-u), --password (-p), and <dbname>.

Hi,

Any updates on the availability of this feature ?

Thanks !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kphamilton picture kphamilton  路  3Comments

juliashibalko picture juliashibalko  路  3Comments

andidev picture andidev  路  3Comments

equero picture equero  路  3Comments

imkratos picture imkratos  路  4Comments