All Questions
8 questions
0
votes
0
answers
49
views
MySQL Database connection for OpenShift 2
I have 2 cartridges in OpenShift 2, one for Tomcat 7 where my war is deployed and the other is a MySQL cartridge where I am hosting my DB. This is my context.xml file
<Context>
<Resource
...
0
votes
1
answer
426
views
Openshift: databases environment variables are not set in PHP
I've created a php application on Openshift. Then I added a MySQL database to my app. Afterward I can see database related variables in SSH shell with env command.
However when I tried to use ...
1
vote
1
answer
1k
views
How to remotely connect to OpenShift MySQL database using PHP?
I've a Tomcat 7 application running on Openshift server, say myapp.
I've also installed MySQL 5.5 cartridge and got the username and password say myUsername and myPassword respectively.
I tried to ...
0
votes
1
answer
138
views
Openshift - get domain name for MySQL database
In my env variable there is host for MySQL database. But it is ip in local network (starts with 127...). How can I make MySQL available for external world via domain name for db?
0
votes
1
answer
929
views
Openshift mysql cannot start MySQL
I'm having issues in deploying the app on openshift. It was Working before but then when i pushed some updates Mysql suddenly became erratic. Below is the screenshot of the error.
R
emote: Preparing ...
2
votes
0
answers
236
views
How to deploy Express 4 application with mysql database setup on openshift?
I am finding it difficult to deploy the Express4 app on Openshift.
The project is working fine on localhost but not being able to push on server
remote: Git Post-Receive Result: failure
remote: ...
1
vote
1
answer
69
views
Error when connecting one app to a different app's database
I was following the instructions in this post:
https://blog.openshift.com/sharing-database-across-applications/
And I have two apps running successfully, with data in my production app, with my ...
0
votes
1
answer
172
views
How to get a database created in PHPmyadmin up on OpenShift?
I've made some databases in PHPmyadmin that I need to access through OpenShift. I've added the correct cartridges to be able to do this, but I don't know how to manually upload this database or if ...