title: Not able to connect to MYSQL database in open shift platform
body: <p>I'm trying to connect with Openshift MYSQL database using JPA and spring data but getting null value for host and port value (i.e. [jdbc:mysql://null:null/jbosstest1]) . below is code I'm using . In local,when I set environment varible mannually using Run >> Run Configuation.. command in eclipse then my code is working fine but it is not working in Open shift cloud .</p>
  
  <pre><code>@Value("#{systemProperties['OPENSHIFT_MYSQL_DB_HOST']}")
  String host;
  
  @Value("#{systemProperties['OPENSHIFT_MYSQL_DB_PORT']}") 
  String port; 
  
  @Bean
  
  public DataSource dataSource() {
      DriverManagerDataSource dataSource = new DriverManagerDataSource();
      dataSource.setUrl(String.format(url,host,port));
      dataSource.setDriverClassName(driverClass);
      dataSource.setUsername(username);
      dataSource.setPassword(password);
      return dataSource;
  }
  </code></pre>