summaryrefslogtreecommitdiffstats
path: root/debian/additions/mariadb.conf.d/50-mysqld_safe.cnf
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:42 +0000
commit15322b5e4bfa3f93637cb32bf9d45e2b4791a6e7 (patch)
treef146159c9472fd011940a5ed051deb835bbabf7c /debian/additions/mariadb.conf.d/50-mysqld_safe.cnf
parentAdding upstream version 1:10.11.6. (diff)
downloadmariadb-15322b5e4bfa3f93637cb32bf9d45e2b4791a6e7.tar.xz
mariadb-15322b5e4bfa3f93637cb32bf9d45e2b4791a6e7.zip
Adding debian version 1:10.11.6-0+deb12u1.debian/1%10.11.6-0+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/additions/mariadb.conf.d/50-mysqld_safe.cnf')
-rw-r--r--debian/additions/mariadb.conf.d/50-mysqld_safe.cnf28
1 files changed, 28 insertions, 0 deletions
diff --git a/debian/additions/mariadb.conf.d/50-mysqld_safe.cnf b/debian/additions/mariadb.conf.d/50-mysqld_safe.cnf
new file mode 100644
index 00000000..e24f96a9
--- /dev/null
+++ b/debian/additions/mariadb.conf.d/50-mysqld_safe.cnf
@@ -0,0 +1,28 @@
+# NOTE: THIS FILE IS READ ONLY BY THE TRADITIONAL SYSV INIT SCRIPT, NOT SYSTEMD.
+# MARIADB SYSTEMD DOES _NOT_ UTILIZE MYSQLD_SAFE NOR READ THIS FILE.
+#
+# For similar behavior, systemd users should create the following file:
+# /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
+#
+# To achieve the same result as the default 50-mysqld_safe.cnf, please create
+# /etc/systemd/system/mariadb.service.d/migrated-from-my.cnf-settings.conf
+# with the following contents:
+#
+# [Service]
+# User = mysql
+# StandardOutput = syslog
+# StandardError = syslog
+# SyslogFacility = daemon
+# SyslogLevel = err
+# SyslogIdentifier = mysqld
+#
+# For more information, please read https://mariadb.com/kb/en/mariadb/systemd/
+
+[mysqld_safe]
+# This will be passed to all mysql clients
+# It has been reported that passwords should be enclosed with ticks/quotes
+# especially if they contain "#" chars...
+
+nice = 0
+skip_log_error
+syslog