Skip to content

Commit cc3bbca

Browse files
committed
chore: update references to use MySQL 8.0
1 parent a02639a commit cc3bbca

File tree

4 files changed

+5
-16
lines changed

4 files changed

+5
-16
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ body:
101101
id: database
102102
attributes:
103103
label: Database
104-
description: e.g. MySQL 5.6, MariaDB 10.2, PostgreSQL 9.6
104+
description: e.g. MySQL 8.0, MariaDB 10.2, PostgreSQL 9.6
105105
validations:
106106
required: false
107107

.github/workflows/reusable-phpunit-test.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ on:
1919
description: The database platform to be tested
2020
type: string
2121
required: false
22-
mysql-version:
23-
description: Version of the mysql Docker image
24-
type: string
25-
required: false
2622
group-name:
2723
description: The @group to test
2824
type: string
@@ -70,7 +66,7 @@ jobs:
7066
# Service containers cannot be extracted to caller workflows yet
7167
services:
7268
mysql:
73-
image: mysql:${{ inputs.mysql-version || '8.0' }}
69+
image: mysql:8.0
7470
env:
7571
MYSQL_ALLOW_EMPTY_PASSWORD: yes
7672
MYSQL_DATABASE: test
@@ -176,7 +172,7 @@ jobs:
176172
id: setup-env
177173
run: |
178174
echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT
179-
echo "ARTIFACT_NAME=${{ inputs.job-id || github.job }}-php-${{ inputs.php-version }}-db-${{ inputs.db-platform || 'none' }}${{ inputs.mysql-version || '' }}" >> $GITHUB_OUTPUT
175+
echo "ARTIFACT_NAME=${{ inputs.job-id || github.job }}-php-${{ inputs.php-version }}-db-${{ inputs.db-platform || 'none' }}" >> $GITHUB_OUTPUT
180176
181177
- name: Cache dependencies
182178
uses: actions/cache@v5

.github/workflows/test-phpunit.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,20 +92,13 @@ jobs:
9292
- Postgre
9393
- SQLSRV
9494
- SQLite3
95-
mysql-version:
96-
- '8.0'
97-
include:
98-
- php-version: '8.2'
99-
db-platform: MySQLi
100-
mysql-version: '5.7'
10195

10296
uses: ./.github/workflows/reusable-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
10397
with:
10498
job-name: ''
10599
php-version: ${{ matrix.php-version }}
106100
job-id: database-live-tests
107101
db-platform: ${{ matrix.db-platform }}
108-
mysql-version: ${{ matrix.mysql-version }}
109102
group-name: DatabaseLive
110103
enable-artifact-upload: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}
111104
enable-coverage: ${{ matrix.php-version == needs.coverage-php-version.outputs.version }}

user_guide_src/source/intro/requirements.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Supported Databases
6363
A database is required for most web application programming.
6464
Currently supported databases are:
6565

66-
- MySQL via the ``MySQLi`` driver (version 5.1 and above only)
66+
- MySQL via the ``MySQLi`` driver (version 8.0 and above only)
6767
- PostgreSQL via the ``Postgre`` driver (version 7.4 and above only)
6868
- SQLite3 via the ``SQLite3`` driver
6969
- Microsoft SQL Server via the ``SQLSRV`` driver (version 2012 and above only)
@@ -72,7 +72,7 @@ Currently supported databases are:
7272
Not all of the drivers have been converted/rewritten for CodeIgniter4.
7373
The list below shows the outstanding ones.
7474

75-
- MySQL (5.1+) via the *pdo* driver
75+
- MySQL via the *pdo* driver
7676
- Oracle via the *pdo* drivers
7777
- PostgreSQL via the *pdo* driver
7878
- MSSQL via the *pdo* driver

0 commit comments

Comments
 (0)