dumb-init is executed with --single-process so only forwards the term signal to mysqld_safe script, which apparently just ignores it. We need to call this to shutdown:
mysqladmin shutdown -p<password>
Perhaps we need to wrap mysqld_admin in a script that monitors signals and shuts down mysql as necessary.
For stopping existing containers, we might need to do something in ansible.
dumb-init is executed with --single-process so only forwards the term signal to mysqld_safe script, which apparently just ignores it. We need to call this to shutdown:
mysqladmin shutdown -p<password>
Perhaps we need to wrap mysqld_admin in a script that monitors signals and shuts down mysql as necessary.
For stopping existing containers, we might need to do something in ansible.