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

Unneccesary error message when shutting down MariaDB

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Not a Bug
    • 5.5.40
    • N/A
    • Platform Debian
    • None

    Description

      I'm using MariaDB 5.5.40-0ubuntu0.14.04.1 on Ubuntu 14.04. According to Launchpad bugs are tracked here, so if this is distribution specific let me know where I should file this.

      vagrant@vagrant:/etc/init.d$ sudo service mysql start
       * Starting MariaDB database server mysqld   [ OK ]
       * Checking for corrupt, not cleanly closed and upgrade needing tables.
      vagrant@vagrant:/etc/init.d$ sudo /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf --verbose shutdown
      Shutdown signal sent to server;  Waiting for pid file to disappear
      ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

      I'm not sure why the error is being thrown, given that the entire point of the command is to shutdown MariaDB. As is, it's confusing when sudo service mysql shutdown / restart throws errors that don't actually reflect an error.

      Attachments

        1. debian.cnf
          0.3 kB
          Andrew Berry
        2. my.cnf
          3 kB
          Andrew Berry

        Activity

          People

            elenst Elena Stepanova
            deviantintegral Andrew Berry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.