summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorHannu Hartikainen <hannu.hartikainen@gmail.com>2020-03-30 16:36:48 +0300
committerAnel Husakovic <anel@mariadb.org>2020-04-03 14:08:59 +0200
commit64b70b09e6ac253b7915f6120ade5e69fa750b18 (patch)
tree35a36f295f1bf259c34d65ea45dc265a22984f13 /support-files
parent24cb76b8dd86bf54f264352be41506995b6c89c4 (diff)
downloadmariadb-git-64b70b09e6ac253b7915f6120ade5e69fa750b18.tar.gz
my.cnf: mention that config files must be *.cnf
It took me a long time to debug why my configs were not being loaded, and judging from online discussions I'm not the only one. Make the comment in the default my.cnf a bit more helpful. The !includedir directive is implemented in mysys/my_default.c. - f_extensions[] is a list of file extensions. It includes .ini and .cnf on Windows, and only .cnf on all other platforms. - search_default_file_with_ext() contains the !includedir directive. It filters files in the directory to those matching f_extensions[]. This file should only be applicable on Unix-like platforms, so only files with the .cnf extension are read. Closes #1485
Diffstat (limited to 'support-files')
-rw-r--r--support-files/rpm/my.cnf2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/rpm/my.cnf b/support-files/rpm/my.cnf
index 913b88f8328..8c6a7139de5 100644
--- a/support-files/rpm/my.cnf
+++ b/support-files/rpm/my.cnf
@@ -5,7 +5,7 @@
[client-server]
#
-# include all files from the config directory
+# include *.cnf from the config directory
#
!includedir /etc/my.cnf.d