Patched mysqld_safe has mysqladmin
|Percona XtraDB Cluster||Status tracked in 5.6|
|Raghavendra D Prabhu|
-trap '' 1 2 3 15 # we shouldn't let anyone kill us
-trap '' 13 # not even SIGPIPE
# MySQL-specific environment variable. First off, it's not really a umask,
# it's the desired mode. Second, it follows umask(2), not umask(3) in that
# octal needs to be explicit. Our shell might be a proper sh without printf,
@@ -739,6 +736,12 @@
+# From now on, we catch signals to do a proper shutdown of mysqld
+# when signalled to do so.
+trap '/usr/sbin/service mysql reload' 1 # HUP
+trap '/usr/sbin/service mysql stop' 2 3 13 15 # INT QUIT PIPE and TERM
# Uncomment the following lines if you want all tables to be automatically
# checked and repaired during startup. You should add sensible key_buffer
part can make it incompatible.
Removing it from 00list for now.