Skip to content

Commit 1327403

Browse files
chriscalendercvicentiu
authored andcommitted
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.
1 parent 38fa014 commit 1327403

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

support-files/mysql-log-rotate.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# This logname can be set in /etc/my.cnf
2-
# by setting the variable "err-log"
3-
# in the [safe_mysqld] section as follows:
2+
# by setting the variable "log-error"
3+
# in the [mysqld] section as follows:
44
#
5-
# [safe_mysqld]
6-
# err-log=@localstatedir@/mysqld.log
5+
# [mysqld]
6+
# log-error=@localstatedir@/mysqld.log
77
#
88
# If the root user has a password you have to create a
99
# /root/.my.cnf configuration file with the following
@@ -21,7 +21,7 @@
2121
@localstatedir@/mysqld.log {
2222
# create 600 mysql mysql
2323
notifempty
24-
daily
24+
daily
2525
rotate 3
2626
missingok
2727
compress

0 commit comments

Comments
 (0)