Skip to content

Commit d522a80

Browse files
committed
[#2190] Upgrade MySQL to 9.2.0
1 parent aa716ed commit d522a80

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
# Label used to access the service container
5151
mysql:
5252
# Docker Hub image
53-
image: mysql:8.4.0
53+
image: mysql:9.2.0
5454
env:
5555
MYSQL_ROOT_PASSWORD: hreact
5656
MYSQL_DATABASE: hreact

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Hibernate Reactive has been tested with:
3131

3232
- Java 11, 17, 21, 23
3333
- PostgreSQL 16
34-
- MySQL 8
34+
- MySQL 9
3535
- MariaDB 11
3636
- Db2 11
3737
- CockroachDB v24

hibernate-reactive-core/src/test/java/org/hibernate/reactive/containers/MySQLDatabase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class MySQLDatabase implements TestableDatabase {
8787
* TIP: To reuse the same containers across multiple runs, set `testcontainers.reuse.enable=true` in a file located
8888
* at `$HOME/.testcontainers.properties` (create the file if it does not exist).
8989
*/
90-
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "8.4.0") )
90+
public static final MySQLContainer<?> mysql = new MySQLContainer<>( imageName( "mysql", "9.2.0") )
9191
.withUsername( DatabaseConfiguration.USERNAME )
9292
.withPassword( DatabaseConfiguration.PASSWORD )
9393
.withDatabaseName( DatabaseConfiguration.DB_NAME )

podman.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ and schema to run the tests:
9494
```
9595
podman run --rm --name HibernateTestingMySQL \
9696
-e MYSQL_ROOT_PASSWORD=hreact -e MYSQL_DATABASE=hreact -e MYSQL_USER=hreact -e MYSQL_PASSWORD=hreact \
97-
-p 3306:3306 docker.io/mysql:8.4.0
97+
-p 3306:3306 docker.io/mysql:9.2.0
9898
```
9999

100100
When the database has started, you can run the tests on MySQL with:

tooling/jbang/MySQLReactiveTest.java.qute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class {baseName} {
7272
}
7373

7474
@ClassRule
75-
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "8.4.0" ) );
75+
public final static MySQLContainer<?> database = new MySQLContainer<>( imageName( "docker.io", "mysql", "9.2.0" ) );
7676

7777
private Mutiny.SessionFactory sessionFactory;
7878

tooling/jbang/ReactiveTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ public String toString() {
229229
*/
230230
enum Database {
231231
POSTGRESQL( () -> new PostgreSQLContainer( "postgres:16.3" ) ),
232-
MYSQL( () -> new MySQLContainer( "mysql:8.4.0" ) ),
232+
MYSQL( () -> new MySQLContainer( "mysql:9.2.0" ) ),
233233
DB2( () -> new Db2Container( "docker.io/icr.io/db2_community/db2:12.1.0.0" ).acceptLicense() ),
234234
MARIADB( () -> new MariaDBContainer( "mariadb:11.7.2" ) ),
235235
COCKROACHDB( () -> new CockroachContainer( "cockroachdb/cockroach:v24.1.0" ) );

0 commit comments

Comments
 (0)