Connect to MongoDB in Vagrant with MongoHub
I assume you have mongodb up and running on a Vagrant VM.
- Launch MongoHub and click on '+'
- Enter 'Name' and 'Database' you want to connect to
- Click on 'Use SSH Tunnel'
- SSH Host =
127.0.0.1
- SSH Port =
2222
- Username and Password =
vagrant
. You may also use vagrant's insecure private key -~/.vagrant.d/insecure_private_key
It should look something like this. Click on Save and you're good to go!!
Written by Sajnikanth Suriyanarayanan
Related protips
1 Response
Awesome! Thanks!
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Mongodb
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#