One of the great things about running code on OpenShift is the auto-scaling properties of cartridges. One just needs to specify during the setup (via the command line or the web interface) the level of scaling.
Getting root-ish access to the MySQL cartridge schema becomes a tad troublesome in these instances. PHPMyAdmin is not supported for scaled apps, and to keep developers from committing a security faux pas, the MySQL instance (or db of choosing) runs in a virtual network of sorts, inaccessible to the at-large Internet.
env | grep "mysql". Should return back an environment variable,
OPENSHIFT_MYSQL_DB_URL, in the listing. Should have a value like:
3307to (in this example)
42424; aka local port forwarding. For a great explanation on tunneling see: SSH Tunneling Explained.
127.0.0.1:3307, with the user and password from the URI string. I like HeidiSQL on Windows.