79560894

Date: 2025-04-07 22:41:10
Score: 0.5
Natty:
Report link

Since both of your apps are running in container now, your database won't be accessible at 127.0.0.1 anymore. You should use the name of the service (from docker compose) instead.

Try changing the datasource url to

spring.datasource.url=jdbc:mysql://mysqldb:3306/task_adc
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Warlike