php - Openshift MYSQL Cartige IP
My scalable osclass app need IP address of MYSQL.I try every thing to find out MYSQL IP but not get it. Following things i tried to find IP:
rhc port-forward -a <appname>command but it show openshift IP address of
httpdnot for Mysql.http://i.stack.imgur.com/Plujm.png
Then buddy niharvey suggest me to ssh into app and type command
env | grep MYSQLbut result still not show ip address
(3) I even Type URL of MySQL instead of IP what i get from 2 try in osclass database setup page but it not working.
(4) I also try https://www.openshift.com/forums/openshift/how-install-custom-wordpress-setup-on-openshift-server method and edit config-sample.php file of osclass. as wordpess and osclass quite similar but that also not works.
I also post thread on openshift but no reply:(
My question how i get this.I think OPENSHIFT team also allow free tier user to Add PHPMYADMIN for scalble app.