Skip to content

Instantly share code, notes, and snippets.

@jafstar
Created July 29, 2012 17:55
Show Gist options
  • Save jafstar/3200593 to your computer and use it in GitHub Desktop.
Save jafstar/3200593 to your computer and use it in GitHub Desktop.
Openshift Issues
How can I test my database connection from my local client?
Embedded databases are not bound to the external IP address of your Application's gear. Hence, only your application on that gear can access the database.
To work around this, you can do several things: 1) Use port forwarding to enable your client to access the database by running: > rhc port-forward -a {appName}
2) You can embed rockmongo-1.1, a web-based management console for MongoDB, by running: > rhc app cartridge add -a {appName} -c rockmongo-1.1
3) You can embed phpmyadmin-3.4, a web-based management console for MySQL, by running: > rhc app cartridge add -a {appName} -c phpmyadmin-3.4
https://openshift.redhat.com/community/faq#t2n10425
-------------------------------------------------------------------
https://openshift.redhat.com/community/page/install-and-setup-putty-ssh-client-for-windows
https://openshift.redhat.com/community/blogs/access-your-application-gear-using-ssh-with-putty
http://www.techyforums.com/index.php?showtopic=80
http://www.dartmouth.edu/~rc/help/faq/permissions.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment