1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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.
This commit is contained in:
chriscalender
2019-03-24 23:25:20 -04:00
committed by Vicențiu Ciorbaru
parent 38fa0141ee
commit 13274032af

View File

@ -1,9 +1,9 @@
# This logname can be set in /etc/my.cnf # This logname can be set in /etc/my.cnf
# by setting the variable "err-log" # by setting the variable "log-error"
# in the [safe_mysqld] section as follows: # in the [mysqld] section as follows:
# #
# [safe_mysqld] # [mysqld]
# err-log=@localstatedir@/mysqld.log # log-error=@localstatedir@/mysqld.log
# #
# If the root user has a password you have to create a # If the root user has a password you have to create a
# /root/.my.cnf configuration file with the following # /root/.my.cnf configuration file with the following
@ -21,7 +21,7 @@
@localstatedir@/mysqld.log { @localstatedir@/mysqld.log {
# create 600 mysql mysql # create 600 mysql mysql
notifempty notifempty
daily daily
rotate 3 rotate 3
missingok missingok
compress compress