How do I connect multiple applications to one database?

Issue

How do I connect multiple applications to one database?

Resolution

OpenShift does not support direct connectivity to an embedded database on non-scalable applications.  Having said that, there are 2 workarounds today:
1) Connecting to a scalable application's database using the hardcoded values since you won't have $OPENSHIFT_DB_* env vars (for scalable apps, see https://openshift.redhat.com/community/kb/kb-e1049-how-does-scaling-work-in-openshift)
2) ssh port forwarding (see https://openshift.redhat.com/community/forums/openshift/accessing-an-server-port-running-in-openshift-from-another-openshift-image)