- edited description
MySQL service OpenShift variable missing
Issue #34
resolved
It provides me with this 4 variables:
OPENSHIFT_MYSQL_DB_USERNAME']
OPENSHIFT_MYSQL_DB_PASSWORD']
OPENSHIFT_MYSQL_DB_HOST']
OPENSHIFT_MYSQL_DB_PORT']
But missing this one:
OPENSHIFT_APP_NAME
Which is the database name.
Related to : https://bitbucket.org/hkwtf/portal/src/356e46abed7e04d43943a7189d14f839a9030e05/app/models/service.rb?at=master#cl-13
Comments (10)
-
reporter -
app_types.yml
-
reporter Yup.
- OPENSHIFT_MYSQL_DB_HOST - OPENSHIFT_MYSQL_DB_PORT - OPENSHIFT_MYSQL_DB_USERNAME - OPENSHIFT_MYSQL_DB_PASSWORD - OPENSHIFT_MYSQL_DB_URL
But it didn't say which database I can use.
-
reporter Or I can create my own database?
-
Your app name is the name of the database. I haven't added this back :)
For example, with
project-username.app.cnpaas.io
, your DB name isproject
-
-
assigned issue to
-
assigned issue to
-
- changed milestone to Feb 16
-
- changed milestone to Feb 27
-
- changed status to resolved
Merged in jimmychu0807/portal (pull request #76)
fix: added database name back in env var (fixes
#34)→ <<cset 01cf9b8a112b>>
-
- removed milestone
Removing milestone: Feb 27 (automated comment)
- Log in to comment