Spring Batch database Connection is not available, request timed out
问题 During the work with Spring Batch for a project, I ran into the following problem. The project consists of: a MySQL database (mysqld 10.2.13-MariaDB) Spring Boot (2.1.1.RELEASE) Spring Batch (4.1.0.RELEASE) Spring Batch is configured to use the same datasource as the business logic for the JobRepository The hikari connection pool size for the datasource is configured to have a size of 4 (which is the default when pusing the app to our CloudFoundry instance and injected during the auto