Starting and Stopping MariaDB Server
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.
RHEL/CentOS 7 and above, Debian 8 Jessie and above, and Ubuntu 15.04 and above use systemd by default.
For information on how to start and stop MariaDB with this service manager, see systemd: Interacting with the MariaDB Server Process.
RHEL/CentOS 6 and below, and Debian 7 Wheezy and below use sysVinit by default.
For information on how to start and stop MariaDB with this service manager, see sysVinit: Interacting with the MariaDB Server Process.
launchd is used in MacOS X.
Ubuntu 14.10 and below use Upstart by default.
Starting the Server Process Manually
mariadbd is the actual MariaDB Server binary. It can be started manually on its own.
mariadbd_safe is a wrapper that can be used to start the mariadbd server process. The script has some built-in safeguards, such as automatically restarting the server process if it dies. See mariadbd_safe for more information.
mysql.server is a wrapper that works as a standard sysVinit script. However, it can be used independently of sysVinit as a regular
sh script. The script starts the mariadbd server process by first changing its current working directory to the MariaDB install directory and then starting mysqld_safe. The script requires the standard sysVinit arguments, such as
status. See mysql.server for more information.