Finally, if your issue has not been addressed elsewhere, running:
- ️ Settings ️ Diagnose & Feedback ️ Open Issues.
I am new in Docker area and trying to explore this. I am not understanding what wrong I am doing or I am not following correct steps to resolve issue:
I have developed a Microservice which connects to my local MySQL, it is working fine. Again I created docker image of that Microservice and trying to run this image through docker. While I am running this docker image, its giving exception saying not able to initialize this connection with MySQL.
Docker is running on Window10 laptop. Below is connection details which works fine, if Microservice is being executed in local machine. When I am trying to run docker image of same microservice in docker environment it is throwing issue as said above.
spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.MySQLDialect
spring.jpa.properties.hibernate.id.new_generator_mappings = false
spring.jpa.properties.hibernate.format_sql = true