Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4968

Old advices in mysql-log-rotate script

    Details

      Description

      This is really a minor fix, just making mariadb-5.5.32/support-files/mysql-log-rotate.sh better. The following patch seems to be self-explanatory.

      diff -up mariadb-5.5.32/support-files/mysql-log-rotate.sh.errlog mariadb-5.5.32/support-files/mysql-log-rotate.sh
      --- mariadb-5.5.32/support-files/mysql-log-rotate.sh.errlog     2013-08-29 14:35:34.839119044 +0200
      +++ mariadb-5.5.32/support-files/mysql-log-rotate.sh    2013-08-29 14:36:24.532088426 +0200
      @@ -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_safe] section as follows:
       #
      -# [safe_mysqld]
      -# err-log=@localstatedir@/mysqld.log
      +# [mysqld_safe]
      +# 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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hhorak Honza Horak
              • Votes:
                1 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: