I have deployed Java applications and now the Grails application plugged into OpenShift ... is still so good (cool service)
I can deploy more than one application per gear ... but can I have more than 1 database per gear?
This configuration makes me think that I cannot
String host = System.getenv('OPENSHIFT_MYSQL_DB_HOST')
String port = System.getenv('OPENSHIFT_MYSQL_DB_PORT')
String dbName = System.getenv('OPENSHIFT_APP_NAME')
url = "jdbc:mysql://$host:$port/$dbName"
username = System.getenv('OPENSHIFT_MYSQL_DB_USERNAME')
password = System.getenv('OPENSHIFT_MYSQL_DB_PASSWORD')
picked up from this post:
Configuring DataSource.groovy for Openshift for Grails
If I couldn’t have more databases to transmit, then suck ...
Can I have more than 1 database per transmission?
source
share