Repository navigation
Conversation
- docker-compose.yml: mysql image 0.22 -> 0.23 and one data volume per new version - env-example, .gitignore, cfg/<version>/ and the CI matrix list the new versions - Fix cfg/mysql-8.0 and cfg/percona-8.0 performance examples: query_cache_* and show_compatibility_56 were removed in MySQL 8.0, so mysqld refused to start - README version table and docs
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the current MySQL, MariaDB and Percona LTS lines as
MYSQL_SERVERvalues, and moves the database image to0.23.Changes
MYSQL_SERVERvalues:mysql-8.4,mysql-9.7,mariadb-10.11,mariadb-11.8,mariadb-12.3,percona-8.4andpercona-9.7. Each one is added to:env-example,.gitignoreand the CI matrix (params-mysql.yml);docker-compose.yml;cfg/<version>/folder with the usual examples.docker-compose.yml:devilboxcommunity/mysql:${MYSQL_SERVER}-0.23. The rebuilt images carry current patch releases; for example MySQL 8.0 moves from 8.0.42 to the final 8.0.46, since 8.0 is end-of-life.cfg/mysql-8.0/andcfg/percona-8.0/devilbox-performance.cnf-examplesetquery_cache_*andshow_compatibility_56, which MySQL 8.0 removed. Enabling the example made mysqld abort (unknown variable 'show_compatibility_56=ON'). These two files and the new MySQL/Percona folders now use a version without those options, withinnodb_redo_log_capacityinstead of the deprecatedinnodb_log_file_size. The MariaDB examples are unchanged, because MariaDB accepts them.mysql-9.7andpercona-9.7are left out ofparams-mysql.ymlfor now, with a comment. The php-fpm0.160images thatmainlineuses ship themysql/mysqldumpclient without its auth plugins, so the CLI cannot log in to 9.x. PHP's mysqli and PDO work. That is fixed in Add PHP 8.5, refresh PHP 8.4 and fix rebuilds for all versions (0.161) docker-php-fpm#2 (0.161, used by Add PHP 8.5 and update php-fpm images to 0.161 #18). Add both entries once Add PHP 8.5 and update php-fpm images to 0.161 #18 is merged.innodb_sort_buffer_size=64M, the server maximum, instead of 1024M, which MariaDB clamps with a warning on every start..gitignore: the missing entries forcfg/mariadb-10.8,10.9and10.10are added.Verification
docker compose configresolves each new value todevilboxcommunity/mysql:<value>-0.23and its owndevilbox-<value>volume..devilbox/cfg/mysql.cnfplus its folder's performance example. So do the rebuiltmysql-8.0andpercona-8.0with the corrected example.Notes for users
MYSQL_SERVERvalue has its own data volume, so switching versions starts with an empty database. Dump first and import afterwards. Going from MySQL 8.0 to 9.7 needs a step through 8.4.mysql-9.7andpercona-9.7only supportcaching_sha2_password. That needs PHP 7.4.4 or newer, and php-fpm0.161or newer for themysql/mysqldumpCLI anddvl.sh db:*.