[debian-mysql] Bug#798080: #798080 mysql-server-5.6: service stop hangs forever on systemd

Vassilis Virvilis v.virvilis at biovista.com
Wed Nov 11 11:37:22 UTC 2015

On Thu, 1 Oct 2015 01:58:56 +0300 Spiros Gatzounas <spiros at verve.gr> wrote:
 > The problem went away after purging and installing again mysql-server
 > and mysql-server-5.6 packages.
 > The problem returned back as soon as the file
 > /etc/mysql/mysql.d.conf/mysqld.cnf was edited and line "log_error =
 > /var/log/mysql/error.log" was commented out in order to allow logging to
 > syslog as mysql suggests.
The problem for me was that systemd does not know how to stop mysql
I had to add

|ExecStop=/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf 
shutdown in the systemd mysql unit file |

I found it here



Vassilis Virvilis Ph.D.
Head of IT
Biovista Inc.

Stay tuned
www: http://www.biovista.com
twitter: https://twitter.com/BiovistaInc/
YouTube: https://www.youtube.com/user/BiovistaInc

US Offices
2421 Ivy Road
Charlottesville, VA 22903
T: +1.434.971.1141
F: +1.434.971.1144

European Offices
34 Rodopoleos Street
Ellinikon, Athens 16777
T: +30.210.9629848
F: +30.210.9647606

Biovista is a privately held biotechnology company that finds novel uses for existing drugs, and profiles their side effects using their mechanism of action. Biovista develops its own pipeline of drugs in CNS, oncology, auto-immune and rare diseases. Biovista is collaborating with biopharmaceutical companies on indication expansion and de-risking of their portfolios and with the FDA on adverse event prediction.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mysql-maint/attachments/20151111/7d9d065d/attachment-0001.html>

More information about the pkg-mysql-maint mailing list