Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Not a Bug
-
5.5.40
-
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.