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

service mysql status returns an error

    XMLWordPrintable

    Details

    • Sprint:
      10.1.12

      Description

      This issue is marked as fixed for 10.1.10 but it apparently is not fixed.

      [root@server ~]# service mysql status
       ERROR! MySQL is running but PID file could not be found
      [root@server ~]# systemctl status mysql
      ● mariadb.service - MariaDB database server
         Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/mariadb.service.d
                 └─mdb101.conf, migrated-from-my.cnf-settings.conf
         Active: active (running) since Sa 2015-12-26 22:05:25 UTC; 37min ago
       Main PID: 9026 (mysqld)
         Status: "Taking your SQL requests now..."
         CGroup: /system.slice/mariadb.service
                 └─9026 /usr/sbin/mysqld
       
      Dez 26 22:05:25 server.absolutehacks.com systemd[1]: Starting MariaDB database server...
      Dez 26 22:05:25 server.absolutehacks.com mysqld[9026]: 2015-12-26 22:05:25 140136908179584 [Note] /usr/sbin/m......
      Dez 26 22:05:25 server.absolutehacks.com systemd[1]: Started MariaDB database server.
      Hint: Some lines were ellipsized, use -l to show in full.
      [root@server ~]# service mariadb status
      Redirecting to /bin/systemctl status  mariadb.service
      ● mariadb.service - MariaDB database server
         Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor preset: disabled)
        Drop-In: /etc/systemd/system/mariadb.service.d
                 └─mdb101.conf, migrated-from-my.cnf-settings.conf
         Active: active (running) since Sa 2015-12-26 22:05:25 UTC; 37min ago
       Main PID: 9026 (mysqld)
         Status: "Taking your SQL requests now..."
         CGroup: /system.slice/mariadb.service
                 └─9026 /usr/sbin/mysqld
       
      Dez 26 22:05:25 server.absolutehacks.com systemd[1]: Starting MariaDB database server...
      Dez 26 22:05:25 server.absolutehacks.com mysqld[9026]: 2015-12-26 22:05:25 140136908179584 [Note] /usr/sbin/m......
      Dez 26 22:05:25 server.absolutehacks.com systemd[1]: Started MariaDB database server.
      Hint: Some lines were ellipsized, use -l to show in full.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              nirbhay_c Nirbhay Choubey (Inactive)
              Reporter:
              Ahmad Ahmad El-Bardan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration