Can I have more than one database per shutter release?

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?

+3
source share
1 answer

, ? 2 mysql?

, ssh, mysql . . . $OPENSHIFT_APP_DB2 .

, this .

+7

All Articles