0

I am trying to connect to MySQL server at remote machine using spring-boot application.properties but it is failing with error o.s.b.a.orm.jpa.DatabaseLookup: Unable to determine jdbc url from datasource.

My database URL is in the correct format. Remote Server requires ssh connection and I have connected it successfully using MySQL Workbench. For connection via spring-boot app, I checked solutions and implemented JSCH solution as explained in post: Spring Boot SSH Mysql? but still no success.

Remote Server SSH port is 202 instead of default 22. Any help on how to connect DB?

Community
  • 1
  • 1
Shubham Jain
  • 103
  • 3
  • 14

1 Answers1

-1

Please refer information mention here - here

or stackoverflow page

ash-rocks
  • 31
  • 5