Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/params-mysql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,20 @@ name: params
# Custom Variables
# -------------------------------------------------------------------------------------------------
env:
# mysql-9.7 and percona-9.7 are left out until docker-compose.yml uses php-fpm 0.161 or newer:
# older images ship the mysql CLI without the caching_sha2_password plugin that 9.x requires.
MATRIX: >-
[
{"MYSQL_SERVER": "mysql-5.5"},
{"MYSQL_SERVER": "mysql-5.6"},
{"MYSQL_SERVER": "mysql-5.7"},
{"MYSQL_SERVER": "mysql-8.0"},
{"MYSQL_SERVER": "mysql-8.4"},
{"MYSQL_SERVER": "percona-5.5"},
{"MYSQL_SERVER": "percona-5.6"},
{"MYSQL_SERVER": "percona-5.7"},
{"MYSQL_SERVER": "percona-8.0"},
{"MYSQL_SERVER": "percona-8.4"},
{"MYSQL_SERVER": "mariadb-5.5"},
{"MYSQL_SERVER": "mariadb-10.0"},
{"MYSQL_SERVER": "mariadb-10.1"},
Expand All @@ -32,7 +36,10 @@ env:
{"MYSQL_SERVER": "mariadb-10.8"},
{"MYSQL_SERVER": "mariadb-10.9"},
{"MYSQL_SERVER": "mariadb-10.10"},
{"MYSQL_SERVER": "mariadb-11.4"}
{"MYSQL_SERVER": "mariadb-10.11"},
{"MYSQL_SERVER": "mariadb-11.4"},
{"MYSQL_SERVER": "mariadb-11.8"},
{"MYSQL_SERVER": "mariadb-12.3"}
]


Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@
/cfg/mysql-5.6/*.cnf
/cfg/mysql-5.7/*.cnf
/cfg/mysql-8.0/*.cnf
/cfg/mysql-8.4/*.cnf
/cfg/mysql-9.7/*.cnf
/cfg/mariadb-5.5/*.cnf
/cfg/mariadb-10.0/*.cnf
/cfg/mariadb-10.1/*.cnf
Expand All @@ -78,11 +80,19 @@
/cfg/mariadb-10.5/*.cnf
/cfg/mariadb-10.6/*.cnf
/cfg/mariadb-10.7/*.cnf
/cfg/mariadb-10.8/*.cnf
/cfg/mariadb-10.9/*.cnf
/cfg/mariadb-10.10/*.cnf
/cfg/mariadb-10.11/*.cnf
/cfg/mariadb-11.4/*.cnf
/cfg/mariadb-11.8/*.cnf
/cfg/mariadb-12.3/*.cnf
/cfg/percona-5.5/*.cnf
/cfg/percona-5.6/*.cnf
/cfg/percona-5.7/*.cnf
/cfg/percona-8.0/*.cnf
/cfg/percona-8.4/*.cnf
/cfg/percona-9.7/*.cnf

# Ignore custom PHP.ini configs
/cfg/php-ini-5.6/*.ini
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@ Make sure to have a look at [UPDATING.md](https://github.com/cytopia/devilbox/bl

## Unreleased

### Added
- MySQL 8.4 and 9.7, MariaDB 10.11, 11.8 and 12.3, Percona 8.4 and 9.7 (`MYSQL_SERVER`). The 9.7 versions need PHP 7.4.4+ and, for the `mysql`/`mysqldump` CLI in the PHP container, php-fpm `0.161`+

### Changed
- Updated MySQL image version to `0.23` (rebuilt on the latest patch releases, e.g. MySQL 8.0.46)

### Fixed
- `cfg/mysql-8.0/` and `cfg/percona-8.0/` performance examples used options removed in MySQL 8.0 (`query_cache_*`, `show_compatibility_56`), so the server did not start with them


## Release v3.0.1 (2025-07-17)

Expand Down
34 changes: 29 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,9 +610,9 @@ Every single attachable container comes with many different versions. In order t
<td></td>
<td></td>
<td><a target="_blank" title="PHP 5.6" href="https://github.com/devilbox/docker-php-fpm"><s>5.6</s></a></td>
<td></td>
<td><a target="_blank" title="MySQL 8.4" href="https://github.com/devilbox-community/docker-mysql">8.4</a></td>
<td><a target="_blank" title="MariaDB 10.3" href="https://github.com/devilbox/docker-mysql">10.3</a></td>
<td></td>
<td><a target="_blank" title="PerconaDB 8.4" href="https://github.com/devilbox-community/docker-mysql">8.4</a></td>
<td><a target="_blank" title="PgSQL 9.4" href="https://github.com/docker-library/postgres">9.4</a></td>
<td><a target="_blank" title="Redis 5.0" href="https://github.com/docker-library/redis">5.0</a></td>
<td></td>
Expand All @@ -622,9 +622,9 @@ Every single attachable container comes with many different versions. In order t
<td></td>
<td></td>
<td><a target="_blank" title="PHP 7.0" href="https://github.com/devilbox/docker-php-fpm"><s>7.0</s></a></td>
<td></td>
<td><a target="_blank" title="MySQL 9.7" href="https://github.com/devilbox-community/docker-mysql">9.7</a></td>
<td><a target="_blank" title="MariaDB 10.4" href="https://github.com/devilbox/docker-mysql">10.4</a></td>
<td></td>
<td><a target="_blank" title="PerconaDB 9.7" href="https://github.com/devilbox-community/docker-mysql">9.7</a></td>
<td><a target="_blank" title="PgSQL 9.5" href="https://github.com/docker-library/postgres">9.5</a></td>
<td><a target="_blank" title="Redis 6.0" href="https://github.com/docker-library/redis">6.0</a></td>
<td></td>
Expand Down Expand Up @@ -707,7 +707,7 @@ Every single attachable container comes with many different versions. In order t
<td></td>
<td><a target="_blank" title="PHP 8.2" href="https://github.com/devilbox/docker-php-fpm">8.2</a><!-- <sup>[2]</sup> --></td>
<td></td>
<td></td>
<td><a target="_blank" title="MariaDB 10.11" href="https://github.com/devilbox-community/docker-mysql">10.11</a></td>
<td></td>
<td><a target="_blank" title="PgSQL latest" href="https://github.com/docker-library/postgres">latest</a></td>
<td></td>
Expand All @@ -719,7 +719,31 @@ Every single attachable container comes with many different versions. In order t
<td></td>
<td><a target="_blank" title="PHP 8.3" href="https://github.com/devilbox-community/docker-php-fpm">8.3</a></td>
<td></td>
<td><a target="_blank" title="MariaDB 11.4" href="https://github.com/devilbox-community/docker-mysql">11.4</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td><a target="_blank" title="MariaDB 11.8" href="https://github.com/devilbox-community/docker-mysql">11.8</a></td>
<td></td>
<td></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
<td></td>
<td><a target="_blank" title="MariaDB 12.3" href="https://github.com/devilbox-community/docker-mysql">12.3</a></td>
<td></td>
<td></td>
<td></td>
Expand Down
Empty file added cfg/mariadb-10.11/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/mariadb-10.11/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
26 changes: 26 additions & 0 deletions cfg/mariadb-10.11/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
query_cache_size=67108864
query_cache_type=1
query_cache_limit=4194304
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_log_file_size=25M
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024

[mysqld_safe]
open_files_limit=262144
Empty file added cfg/mariadb-11.8/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/mariadb-11.8/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
26 changes: 26 additions & 0 deletions cfg/mariadb-11.8/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
query_cache_size=67108864
query_cache_type=1
query_cache_limit=4194304
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_log_file_size=25M
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024

[mysqld_safe]
open_files_limit=262144
Empty file added cfg/mariadb-12.3/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/mariadb-12.3/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
26 changes: 26 additions & 0 deletions cfg/mariadb-12.3/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
query_cache_size=67108864
query_cache_type=1
query_cache_limit=4194304
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_log_file_size=25M
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024

[mysqld_safe]
open_files_limit=262144
8 changes: 2 additions & 6 deletions cfg/mysql-8.0/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
show_compatibility_56=ON
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
query_cache_size=67108864
query_cache_type=1
query_cache_limit=4194304
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_log_file_size=25M
innodb_redo_log_capacity=52428800
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024
Expand Down
Empty file added cfg/mysql-8.4/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/mysql-8.4/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
23 changes: 23 additions & 0 deletions cfg/mysql-8.4/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_redo_log_capacity=52428800
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024

[mysqld_safe]
open_files_limit=262144
Empty file added cfg/mysql-9.7/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/mysql-9.7/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
23 changes: 23 additions & 0 deletions cfg/mysql-9.7/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_redo_log_capacity=52428800
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024

[mysqld_safe]
open_files_limit=262144
8 changes: 2 additions & 6 deletions cfg/percona-8.0/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -1,24 +1,20 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
show_compatibility_56=ON
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
query_cache_size=67108864
query_cache_type=1
query_cache_limit=4194304
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_log_file_size=25M
innodb_redo_log_capacity=52428800
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024
Expand Down
Empty file added cfg/percona-8.4/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/percona-8.4/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
23 changes: 23 additions & 0 deletions cfg/percona-8.4/devilbox-performance.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[mysqld]
sql_mode="NO_ENGINE_SUBSTITUTION"
innodb_file_per_table=OFF
open_files_limit=262144
local_infile=ON
secure_file_priv=""
max_allowed_packet=1073741824
max_connections=100000
key_buffer_size=1024M
innodb_buffer_pool_size=1024M
table_open_cache=4096
innodb_buffer_pool_instances=24
myisam_sort_buffer_size=1024M
innodb_sort_buffer_size=64M
sort_buffer_size=1024M
innodb_flush_log_at_trx_commit=0
innodb_redo_log_capacity=52428800
interactive_timeout=3600
max_connect_errors=1000000
thread_cache_size=1024

[mysqld_safe]
open_files_limit=262144
Empty file added cfg/percona-9.7/.keepme
Empty file.
5 changes: 5 additions & 0 deletions cfg/percona-9.7/devilbox-custom.cnf-example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[mysqld]
;key_buffer_size=16M

[mysqldump]
;quick
Loading