summaryrefslogtreecommitdiffstats
path: root/Services/mariadb/my.cnf
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-28 21:04:24 +0100
committerstartxfr <clarue@startx.fr>2015-11-28 21:04:24 +0100
commit7b3b27e440b076f7a599555eaf963e719caab080 (patch)
tree1f6caa5506433de8850a66316abf1db80fc5ed01 /Services/mariadb/my.cnf
parent59bbf66b7b1e4490694f2c5f732ddf9380acf053 (diff)
downloadphpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.tar.gz
phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.tar.bz2
phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.tar.xz
phpmyadmin-7b3b27e440b076f7a599555eaf963e719caab080.zip
start reshape of mysql container
Diffstat (limited to 'Services/mariadb/my.cnf')
-rw-r--r--Services/mariadb/my.cnf29
1 files changed, 29 insertions, 0 deletions
diff --git a/Services/mariadb/my.cnf b/Services/mariadb/my.cnf
new file mode 100644
index 0000000..ac882ac
--- /dev/null
+++ b/Services/mariadb/my.cnf
@@ -0,0 +1,29 @@
+[mysqld]
+datadir=/var/lib/mysql
+socket=/var/lib/mysql/mysql.sock
+# Disabling symbolic-links is recommended to prevent assorted security risks
+symbolic-links=0
+# Settings user and group are ignored when systemd is used.
+# If you need to run mysqld under a different user or group,
+# customize your systemd unit file for mysqld/mariadb according to the
+# instructions in http://fedoraproject.org/wiki/Systemd
+
+# Currently, there are mariadb and community-mysql packages in Fedora.
+# This particular config file is included in respective RPMs of both of them,
+# so the following settings are general and will be also used by both of them.
+# Otherwise the RPMs would be in conflict.
+# Settings for particular implementations like MariaDB are then
+# defined in appropriate sections; for MariaDB server in [mariadb] section in
+# /etc/my.cnf.d/server.cnf (part of mariadb-server).
+# It doesn't matter that we set these settings only for [mysqld] here,
+# because they will be read and used in mysqld_safe as well.
+log-error=/var/log/mysqld.log
+pid-file=/var/run/mysqld/mysqld.pid
+
+[mysqld_safe]
+
+#
+# include all files from the config directory
+#
+!includedir /etc/my.cnf.d
+