summaryrefslogtreecommitdiff
path: root/databases/mariadb104-server/files/my.cnf.sample.in
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2020-05-26 09:58:39 +0000
committerBernard Spil <brnrd@FreeBSD.org>2020-05-26 09:58:39 +0000
commitda3ccc48428fd463e97838e7c0e3c8b723886c1c (patch)
tree6159c5183d1006f5d7d2a4e12f8a60ed1d66f2c4 /databases/mariadb104-server/files/my.cnf.sample.in
parentUpdate audio/praat to latest upstream release 6.1.15 (20 May 2020) (diff)
databases/mariadb104-server: Fix configuration location / overhaul
* Fix configuration location [1] * Share patches between client and server * Provide minimal configuration for client and server * Make the wsrep config a sample only * Fixup plists PR: 246694 [1] Reported by: <theis gmx at> MFH: 2020Q2
Diffstat (limited to 'databases/mariadb104-server/files/my.cnf.sample.in')
-rw-r--r--databases/mariadb104-server/files/my.cnf.sample.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mariadb104-server/files/my.cnf.sample.in b/databases/mariadb104-server/files/my.cnf.sample.in
new file mode 100644
index 000000000000..b4fed968fc48
--- /dev/null
+++ b/databases/mariadb104-server/files/my.cnf.sample.in
@@ -0,0 +1,13 @@
+#
+# This group is read both by the client and the server
+# use it for options that affect everything, see
+# https://mariadb.com/kb/en/configuring-mariadb-with-option-files/#option-groups
+#
+[client-server]
+port = 3306
+socket = /var/run/mysql/mysql.sock
+
+#
+# include *.cnf from the config directory
+#
+!includedir %%ETCDIR%%/conf.d/