Hi guys im very new to openshift and php.So how do i connect my php to my openshift database?To be more specific,what should be my php connection script in order to connect to my MySQL database?
These are my gears
Domain: testing123hello
Created: May 21 1:41 PM
Gears: 2 (defaults to small)
Git URL: ssh://537c3c7a4382ec54ff000007@php-testing123hello.rhcloud.com/~/g
it/php.git/
SSH: 537c3c7a4382ec54ff000007@php-testing123hello.rhcloud.com
Deployment: auto (on git push)
haproxy-1.4 (Web Load Balancer)
Gears: Located with php-5.4
php-5.4 (PHP 5.4)
Scaling: x1 (minimum: 1, maximum: available) on small gears
mysql-5.5 (MySQL 5.5)
Gears: 1 small
Connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
Database Name: php
Password: *********
Username: *********