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
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.
Render Support, UTC+10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.