Closed Jashepp closed 1 month ago
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.
All persistent settings and config files reside in the config folder.
You shouldn't be mapping/overwriting files inside the container unless the readme says so.
Closing as it's not a bug.
I'm saying that the /config/custom.cnf config file isn't being used/read by mariadb at all.
My bad, I thought you were mapping a file into the container based on the compose yaml.
This was working last I tested, but needs furtehr investigating.
This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.
This issue is locked due to inactivity
Is there an existing issue for this?
Current Behavior
/etc/my.cnf.d/custom.cnf
(linked to/config/custom.cnf
) is currently not being used by mariadb. Any edits I do in custom.cnf (with rebooting/recreating container after edits), are ignored.Expected Behavior
custom.cnf is meant to be used by mariadb, which upon startup is sym linked, to be within the
/etc/my.cnf.d/
directory: https://github.com/linuxserver/docker-mariadb/blob/11743a1c76cc54423b644002f20f80a67427c994/root/etc/s6-overlay/s6-rc.d/init-mariadb-config/run#L13 However there is no existing/default configuration that's including the/etc/my.cnf.d/
directory, hencecustom.cnf
is not used: https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#including-option-file-directoriesUnless I am somehow missing something obvious?
Steps To Reproduce
query_cache_type = ON
)SHOW GLOBAL VARIABLES WHERE Variable_name='query_cache_type'
)Environment
CPU architecture
x86-64
Docker creation
Container logs