summaryrefslogtreecommitdiff
path: root/support-files
diff options
context:
space:
mode:
authorchriscalender <chriscalender@gmail.com>2019-03-24 23:25:20 -0400
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2019-09-21 00:13:26 +0300
commit13274032af7480c6b99e9df3502dfb852116080e (patch)
tree54c348c32f78350c5e8d6ad4638cc008ce1fbdab /support-files
parent38fa0141eed89613b45906a638be19123ee7e706 (diff)
downloadmariadb-git-13274032af7480c6b99e9df3502dfb852116080e.tar.gz
MDEV-4968 Old advices in mysql-log-rotate script
* Change the comments in mysql-log-rotate.sh to refer to mysqld, not mysqld_safe as that's what most distros are using. * Change err-log to log-error as err-log is no longer valid. * Convert tab to space for consistency.
Diffstat (limited to 'support-files')
-rw-r--r--support-files/mysql-log-rotate.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/support-files/mysql-log-rotate.sh b/support-files/mysql-log-rotate.sh
index 0ee78b0f7ca..605334d2d75 100644
--- a/support-files/mysql-log-rotate.sh
+++ b/support-files/mysql-log-rotate.sh
@@ -1,9 +1,9 @@
# This logname can be set in /etc/my.cnf
-# by setting the variable "err-log"
-# in the [safe_mysqld] section as follows:
+# by setting the variable "log-error"
+# in the [mysqld] section as follows:
#
-# [safe_mysqld]
-# err-log=@localstatedir@/mysqld.log
+# [mysqld]
+# log-error=@localstatedir@/mysqld.log
#
# If the root user has a password you have to create a
# /root/.my.cnf configuration file with the following
@@ -21,7 +21,7 @@
@localstatedir@/mysqld.log {
# create 600 mysql mysql
notifempty
- daily
+ daily
rotate 3
missingok
compress