<?xml version="1.0" encoding="utf-8"?>
<bug><id>9114</id><link>http://bugs.mysql.com/bug.php?id=9114</link><status>Verified</status><category>Server: General</category><sdesc>mysqld_safe should react on signals (patch)</sdesc><ldesc>A kill -15 or kill -9 to mysqld_safe is currently ignored. But it would be so simple to
enable it as Erich Schubert &lt;erich@debian.org&gt; just proved me. Just change the traps
to:
  trap &#039;/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf refresh&#039; 1 # HUP
  ...
and add &quot;&amp; wait&quot; to the daemon line.

Of course the exact file locations vary. Here debian.cnf contains the name and password
for a special user that has the shutdown right.

See: http://bugs.debian.org/208364</ldesc><reporter>16744</reporter><submitted>1110500544</submitted><modified>1153654483</modified><version>all</version><os>Any</os><cpu_arch>Any</cpu_arch><severity>S4 (Feature request)</severity></bug>