Skip to content

Commit 06ad992

Browse files
authored
Switch to com.mysql:mysql-connector-j (#11078)
Fixes #11079
1 parent db88750 commit 06ad992

File tree

7 files changed

+7
-8
lines changed

7 files changed

+7
-8
lines changed

docs/examples/junit4/generic/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66
testImplementation project(":testcontainers-selenium")
77
testImplementation project(":testcontainers-mysql")
88

9-
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
9+
testRuntimeOnly 'com.mysql:mysql-connector-j:8.2.0'
1010
testImplementation "org.seleniumhq.selenium:selenium-api:4.35.0"
1111
testImplementation 'org.assertj:assertj-core:3.27.4'
1212
}

modules/jdbc-test/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ dependencies {
1010

1111
api 'org.apache.tomcat:tomcat-jdbc:11.0.11'
1212
api 'org.vibur:vibur-dbcp:26.0'
13-
api 'mysql:mysql-connector-java:8.0.33'
13+
api 'com.mysql:mysql-connector-j:8.2.0'
1414
api 'org.junit.jupiter:junit-jupiter:5.13.4'
1515
}

modules/junit-jupiter/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ dependencies {
1515
}
1616

1717
testRuntimeOnly 'org.postgresql:postgresql:42.7.8'
18-
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
18+
testRuntimeOnly 'com.mysql:mysql-connector-j:8.2.0'
1919
}

modules/mysql/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ dependencies {
77
compileOnly 'io.asyncer:r2dbc-mysql:1.4.1'
88

99
testImplementation project(':testcontainers-jdbc-test')
10-
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
10+
testRuntimeOnly 'com.mysql:mysql-connector-j:8.2.0'
1111

1212
testImplementation testFixtures(project(':testcontainers-r2dbc'))
1313
testRuntimeOnly 'io.asyncer:r2dbc-mysql:1.4.1'

modules/oceanbase/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ dependencies {
44
api project(':testcontainers-jdbc')
55

66
testImplementation project(':testcontainers-jdbc-test')
7-
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
7+
testRuntimeOnly 'com.mysql:mysql-connector-j:8.2.0'
88
}

modules/spock/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies {
1616
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
1717

1818
testRuntimeOnly 'org.postgresql:postgresql:42.7.8'
19-
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
19+
testRuntimeOnly 'com.mysql:mysql-connector-j:8.2.0'
2020
testRuntimeOnly platform('org.junit:junit-bom:5.13.4')
2121
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
2222
testRuntimeOnly 'org.junit.platform:junit-platform-testkit'

modules/tidb/build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ dependencies {
44
api project(':testcontainers-jdbc')
55

66
testImplementation project(':testcontainers-jdbc-test')
7-
testRuntimeOnly 'mysql:mysql-connector-java:8.0.33'
8-
7+
testRuntimeOnly 'com.mysql:mysql-connector-j:8.2.0'
98
compileOnly 'org.jetbrains:annotations:26.0.2-1'
109
}

0 commit comments

Comments
 (0)