Skip to content

Instantly share code, notes, and snippets.

@hfogelberg
Created March 27, 2017 07:27
Show Gist options
  • Save hfogelberg/6d1139eb42d69f39482647b0ced7c345 to your computer and use it in GitHub Desktop.
Save hfogelberg/6d1139eb42d69f39482647b0ced7c345 to your computer and use it in GitHub Desktop.
mongo 199.124.1.2:12128/dbname -u dbusername -p dbpassword
1 2 3 4 5
Explanation for those who are struggling
1. you server static IP address
2. you exposed port no (any in one of the four user B when A->B)
3. your databasename this is what you enter while you run this command dokku mongo:create dbname
4 & 5. you will get this when running dokku mongo:info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment