MariaDB / mariadb-docker

Docker Official Image packaging for MariaDB
https://mariadb.org
GNU General Public License v2.0
759 stars 438 forks source link

config: skip-host-cache and skip-name-resolve to /etc/mysql/mariadb.c… #462

Closed grooverdan closed 1 year ago

grooverdan commented 1 year ago

…onf.d/05-skipcache.cnf

To allow a user to override /etc/mysql/my.cnf and skip these options.

skip-host-cache renamed to its full name of host-cache-size=0 for clarity.

cvicentiu commented 1 year ago

Looks good to me. Thanks for picking this up :)

Now all we need is to document this for those that overwrite their my.cnf but also preserve their include directives. It technically is a breaking change for those users.

grooverdan commented 1 year ago

Docs updated for clarify: https://github.com/docker-library/docs/pull/2207

Mounting /etc/mysql/my.cnf was technically outside of documented behaviour (though wasn't written as clearly), but updated docs on how to re-enable the name resolution in container.