I have created application in openshit (tomcat7 type) using spring boot. Below is my connection properties
# Remote Datasource Configuration
spring.datasource.url=jdbc:mysql://127.3.175.2:3306/sivam
spring.datasource.username=xxx
spring.datasource.password=yyy
When I tried to deploy my application, Its not connecting to the DB. Unfortunately I am unable to the logs now due to proxy settings. The same code is working fine in my system with local database credentials.
# Local Datasource Configuration
spring.datasource.url=jdbc:mysql://localhost:3306/sivam
spring.datasource.username=xxx
spring.datasource.password =yyy
Also I have checked remote db credentials using normal JDBC connections (Class.forName() etc) and its deployed correctly & fetching the records from openshift mysql db. So my difficulty is only on spring boot, Do I need to make any specific changes for this?