3 ms·
You're right, running mysqld_safe is the problem. However, after a quick bit of further research, even Debian isn't running mysqld_safe anymore as they now defa
by msimpson 10y ago
You're right, running mysqld_safe is the problem. However, after a quick bit of further research, even Debian isn't running mysqld_safe anymore as they now default to systemd in version 8. So this isn't even a problem in that distribution unless you make it one.
- JdeBP 10y agoYour research was too quick. (-: Debian 8 packages up mysql 5.5 with only a van Smoorenburg rc script, no systemd units. * https://packages.debian.org/en/jessie/arm64/mysql-server-5.5/filelist https://packages.debian.org/en/jessie/arm64/mysql-server-5.5... Debian 8 only has mysql 5.6 available through backports. That has a systemd service unit, written in 2014 by Akhil Mohan of Oracle. That service unit invokes mysqld_safe, though, in classic systemd House of Horror fashion. * https://packages.debian.org/en/jessie-backports/arm64/mysql-server-5.6/filelist https://packages.debian.org/en/jessie-backports/arm64/mysql-... * https://anonscm.debian.org/cgit/pkg-mysql/mysql-5.6.git/tree/debian/mysql-server-5.6.mysql.service?id=fcd2771abdb7cc4809f6dfce6d900dbf612e5113 https://anonscm.debian.org/cgit/pkg-mysql/mysql-5.6.git/tree... Apparently, Red Hat Enterprise Linux 7 has no systemd unit files for mysql 5.6, either, and still uses mysqld_safe. * http://rpm.pbone.net/index.php3/stat/6/idpl/34647467/dir/redhat_el_7/com/MySQL-server-5.6.33-1.el7.x86_64.rpm http://rpm.pbone.net/index.php3/stat/6/idpl/34647467/dir/red...
- msimpson 10y agoYou're right, again, even though you linked arm64 file lists instead of amd64. The 5.6 backport does have that unit file, but the badly written one from Oracle. I guess you shouldn't use Debian (-: