-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Simplify configuration files tree #390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Those are mostly inherited from the mysql packages for Debian; we only add Lines 64 to 69 in 30bf2b7
Most MySQL config can be specified later to override an earlier value: $ docker run -d -e MYSQL_ROOT_PASSWORD=12345 mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci |
This adds complexity, it's extremely error prone and it's hard to automate. It's better to reduce the number of files. But it would be nice if a simpler structure is provided by the image itself. Ideally, from a user point of view, it would be even nicer to have the same structure in mysql image and mariadb image. |
For the older versions, the structure was originally created in Debian because MariaDB also uses "mysql" file paths, so MySQL would have config in /etc/mysql/mysql.conf.d, MariaDB in /etc/mysql/mariadb.conf.d/, and shared options would be in /etc/mysql/conf.d/ However, the server itself only cares about /etc/mysql/my.cnf, so it's possible to change, and we did for 8.0. Does that look better to you? |
Of course, this looks good. It's also very good that you reduced the number of settings in the files. Any plans to port this to 5.7? |
A manual inspection to look for an option takes an unreasonable amount of time.
The text was updated successfully, but these errors were encountered: