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

mysql.server init script output is garbled on Debian Wheezy for the start and stop commands

    Details

    • Type: Bug
    • Status: Open
    • Priority: Trivial
    • Resolution: Unresolved
    • Affects Version/s: 5.5.32
    • Fix Version/s: 5.5
    • Component/s: None
    • Labels:
    • Environment:
      Debian Squeeze AMD64

      Description

      Using the generic precompiled version of MariaDB 5.5.32 (.tar.gz) on a Debian Wheezy (that features a fancy colored output for init scripts) and using the provided mysql.server script result on garbled output, here is an example :

      root@server:~# /etc/init.d/mysql restart
      Shutting down MySQL
      [.ok 
      Starting MySQL
      [ .k
      root@server:~# /etc/init.d/mysql start
      Starting MySQL
      . ok
      

      (where the "ok" char on the first and third garbled line is in green color as well as the "k" on the second one)

      The status output is correct as the init script doesnt outputs dots like the start/stop commands :

      root@server:~# /etc/init.d/mysql status
      [ ok ] MySQL running (8964).

      Here is the output on a Debian Wheezy using the .deb packaged version of MariaDB 5.5.32 :

      root@server:~# /etc/init.d/mysql restart
      [ ok ] Stopping MariaDB database server: mysqld.
      [ ok ] Starting MariaDB database server: mysqld . . . ..
      [info] Checking for corrupt, not cleanly closed and upgrade needing tables..

      ps: the same seems to happen with MySQL5.6 mysql.server init script.

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                Unassigned
                Reporter:
                jb-boin Jean Weisbuch
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: