Skip to content

Commit d40971c

Browse files
committed
chore: bump MySQL to min 8.4 and support 9.7
- Version 8.0 is out-of-support. - Version 8.4 is now the oldest LTS. - New LTS is 9.7 Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 718dfd0 commit d40971c

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/phpunit-mysql-sharding.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ jobs:
5757
fail-fast: false
5858
matrix:
5959
include:
60-
- mysql-versions: '8.0'
61-
php-versions: '8.3'
6260
- mysql-versions: '8.4'
61+
php-versions: '8.3'
62+
- mysql-versions: '9.7'
6363
php-versions: '8.5'
6464

6565
name: Sharding - MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests

.github/workflows/phpunit-mysql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ jobs:
6060
fail-fast: false
6161
matrix:
6262
include:
63-
- mysql-versions: '8.0'
64-
php-versions: '8.3'
6563
- mysql-versions: '8.4'
64+
php-versions: '8.3'
65+
- mysql-versions: '9.7'
6666
php-versions: '8.5'
6767

6868
name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -75,7 +75,7 @@ jobs:
7575
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
7676

7777
mysql:
78-
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest # zizmor: ignore[unpinned-images]
78+
image: mysql:${{ matrix.mysql-versions }} # zizmor: ignore[unpinned-images]
7979
ports:
8080
- 4444:3306/tcp
8181
env:

apps/settings/lib/SetupChecks/SupportedDatabase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class SupportedDatabase implements ISetupCheck {
1919

2020
private const MIN_MARIADB = '10.6';
2121
private const MAX_MARIADB = '11.8';
22-
private const MIN_MYSQL = '8.0';
23-
private const MAX_MYSQL = '8.4';
22+
private const MIN_MYSQL = '8.4';
23+
private const MAX_MYSQL = '9.7';
2424
private const MIN_POSTGRES = '14';
2525
private const MAX_POSTGRES = '18';
2626
private const MIN_ORACLE = '12.2';

0 commit comments

Comments
 (0)