diff --git a/pom.xml b/pom.xml
index ec23623078..59de493990 100644
--- a/pom.xml
+++ b/pom.xml
@@ -106,7 +106,7 @@
2.0.1
6.3.1
1.9.9.1
- 8.0.30
+ 8.0.31
42.5.0
11.5.7.0
19.16.0.0
diff --git a/spring-batch-core/pom.xml b/spring-batch-core/pom.xml
index a64a5860db..574c6a2623 100644
--- a/spring-batch-core/pom.xml
+++ b/spring-batch-core/pom.xml
@@ -107,9 +107,9 @@
test
- mysql
- mysql-connector-java
- ${mysql-connector-java.version}
+ com.mysql
+ mysql-connector-j
+ ${mysql-connector-j.version}
test
diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java
index 4ded0b5499..a617f730e0 100644
--- a/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java
+++ b/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJdbcJobRepositoryIntegrationTests.java
@@ -67,7 +67,7 @@ class MySQLJdbcJobRepositoryIntegrationTests {
// TODO find the best way to externalize and manage image versions
// when implementing https://github.com/spring-projects/spring-batch/issues/3092
- private static final DockerImageName MYSQL_IMAGE = DockerImageName.parse("mysql:8.0.24");
+ private static final DockerImageName MYSQL_IMAGE = DockerImageName.parse("mysql:8.0.31");
@Container
public static MySQLContainer> mysql = new MySQLContainer<>(MYSQL_IMAGE);
diff --git a/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJobRepositoryIntegrationTests.java b/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJobRepositoryIntegrationTests.java
index 2f845d66e1..005c905af2 100644
--- a/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJobRepositoryIntegrationTests.java
+++ b/spring-batch-core/src/test/java/org/springframework/batch/core/test/repository/MySQLJobRepositoryIntegrationTests.java
@@ -56,7 +56,7 @@
class MySQLJobRepositoryIntegrationTests {
// TODO find the best way to externalize and manage image versions
- private static final DockerImageName MYSQL_IMAGE = DockerImageName.parse("mysql:8.0.25");
+ private static final DockerImageName MYSQL_IMAGE = DockerImageName.parse("mysql:8.0.31");
@Container
public static MySQLContainer> mysql = new MySQLContainer<>(MYSQL_IMAGE);