Error Occurred during spring boot deployment

hi, I am getting an error in attached snapshot. If anyone know, please help me to resolve the error.

My application.properties file configurations are mentioned below :
server.port = 8080
spring.datasource.url = jdbc:mysql://localhost:3306/crickinfo
spring.datasource.username=root
spring.datasource.password=adminPass
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
spring.datasource.hikari.connectionTimeout=20000
spring.datasource.hikari.maximumPoolSize=5

#logging.level.org.springframework=DEBUG

spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true

logging.level.org.hibernate.SQL=DEBUG
logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE

Hi there,

This is just a reminder that this is a public forum, and you shouldn’t post connection details here. Although they are likely local connections, it is a good habit not to do it under any circumstances.

One thing I noticed, as I mentioned above, is that you are using localhost in your MySQL connection URL. I don’t think you would be running MySQL on the same Render instance as your Spring Boot service. You will need to run a separate MySQL that your Render service uses. If you don’t already have one, we have a guide to installing MySQL on Render here: https://docs.render.com/deploy-mysql.

Alternatively, you could switch to using Postgres, which we do run as a managed service for you: https://docs.render.com/databases.

Regards,

Keith
Render Support, UTC+10 :australia:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.