PHP MySQL connection on OpenShift Red Hat Cloud


PHP connection to MySQL database on OpenShift is not the same as connection in general as in the example below. The value of the database information variable is immediately filled in.

In OpenShift the database information is filled with the values ​​of the environment variables that have been set by OpenShift.

PHP MySQL connection example on OpenShift

via stackoverflow.com

Support this blog by donating via Trakteer.id, PayPal, or Jenius Pay $musaamine.

Related Posts:

  • How to Add Application Domain Aliases on OpenShift Red Hat Cloud
  • How to Upload Files To OpenShift Red Hat CloudHow to Upload Files To OpenShift Red Hat Cloud
  • How to Install WordPress on OpenShift Red Hat CloudHow to Install WordPress on OpenShift Red Hat Cloud
  • [PHP]  CRUD Using PDO [Bagian 6][PHP] CRUD Using PDO [Bagian 6]
  • [PHP]  CRUD Using PDO [Bagian 5][PHP] CRUD Using PDO [Bagian 5]

.



Source link

Leave a Reply

Your email address will not be published. Required fields are marked *