An overview of methods to start and stop MariaDB, distinguishing between service managers (systemd, sysVinit, launchd) and manual commands (mariadbd, mariadbd-safe).
There are several different methods to start or stop the MariaDB Server process. There are two primary categories that most of these methods fall into: starting the process with the help of a service manager, and starting the process manually.
sysVinit and systemd are the most common Linux service managers. launchd is used in MacOS X. Upstart is a less common service manager.
RHEL/CentOS 7 and above, Debian 8 Jessie and above, and Ubuntu 15.04 and above use by default.
For information on how to start and stop MariaDB with this service manager, see .
RHEL/CentOS 6 and below, and Debian 7 Wheezy and below use by default.
For information on how to start and stop MariaDB with this service manager, see .
is used in MacOS X.
Ubuntu 14.10 and below use Upstart by default.
is the actual MariaDB Server binary. It can be started manually on its own.
is a wrapper that can be used to start the server process. The script has some built-in safeguards, such as automatically restarting the server process if it dies. See for more information.
is a wrapper that can be used to start the server process if you plan to run multiple server processes on the same host. See for more information.
is a wrapper that works as a standard script. However, it can be used independently of as a regular sh script. The script starts the server process by first changing its current working directory to the MariaDB install directory and then starting . The script requires the standard arguments, such as start, stop, and status. See for more information.
This page is licensed: CC BY-SA / Gnu FDL