Managing MySQL Server with systemd If you install MySQL using an RPM or Debian package on the following Linux platforms, server startup and shutdown is managed by systemd: If you install MySQL from a generic binary distribution on a platform that uses systemd, you can manually configure systemd support for MySQL following the instructions provided in the post-installation setup section of the MySQL 8.0 Secure Deployment Guide. If you install MySQL from a source distribution on a platform that uses systemd, obtain systemd support for MySQL by configuring the distribution using the  -DWITH_SYSTEMD=1 CMake  option. See Section 2.9.7, “MySQL Source-Configuration Options” . The following discussion covers these topics: On platforms for which systemd support for MySQL is installed, scripts such as mysqld_safe  and the System V initialization script are unnecessary and are not installed. For example,  mysqld_safe  can handle server restarts, but systemd provides the same capability, and does so in a manner consistent with management of other services rather than by using an application-specific program. Because systemd has the capability of managing multiple MySQL instances on platforms for which systemd support for MySQL is installed,  mysqld_multi  and mysqld_multi.server  are unnecessary and are not installed. systemd provides automatic MySQL server startup and shutdown. It also enables manual server management using the  systemctl  command. For example: shell>  systemctl  {start|stop|restart|status}  mysqld Alternatively, use the  service  command (with the arguments reversed), which is compatible with System V systems: shell>  service mysqld  {start|stop|restart|status} 197 •RPM package platforms: •Enterprise Linux variants version 7 and higher •SUSE Linux Enterprise Server 12 and higher •Fedora 29 and higher •Debian family platforms: •Debian platforms •Ubuntu platforms •Overview of systemd •Configuring systemd for MySQL •Configuring Multiple MySQL Instances Using systemd •Migrating from mysqld_safe to systemd Note Overview of systemd