By connect I assume you mean to use the shell, for this you need the mongodb-org papa and install mongodb-org-shell, I am currently on the phone but as soon as I get to a computer I'll send you links<br><br>On Friday, 13 May 2016, Casey Marshall <<a href="mailto:casey.marshall@canonical.com">casey.marshall@canonical.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I seem to be unable to connect to the Juju 2.0 controller database lately. I'm thinking this might be related to the move to mongodb 3.2.<div><br></div><div>Can someone in the know please share how to do this? While most users should never, ever connect directly to the controller's database, I have two good use cases for it:</div><div><br></div><div>1. It's sometimes necessary for debugging the state of a live controller.</div><div>2. I'd like to instrument a controller's mongodb with <a href="http://prometheus.io" target="_blank">prometheus.io</a>, but in order to do this, I need to derive the new connection info.</div><div><br></div><div>Much thanks,</div><div>Casey</div></div>
</blockquote>