All pages
Powered by GitBook
1 of 1

Loading...

Starting and Stopping Overview

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.

Service Managers

sysVinit and systemd are the most common Linux service managers. launchd is used in MacOS X. Upstart is a less common service manager.

Systemd

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 .

SysVinit

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 .

launchd

is used in MacOS X.

Upstart

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 server process. The script has some built-in safeguards, such as automatically restarting the server process if it dies. See for more information.

mariadbd-multi

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.

mysql.server

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

systemd
systemd: Interacting with the MariaDB Server Process
sysVinit
sysVinit: Interacting with the MariaDB Server Process
launchd
mariadbd
mariadbd-safe
mariadbd
mariadbd-safe
mariadbd-multi
mariadbd
mariadbd-multi
mysql.server
sysVinit
sysVinit
mariadbd
mariadbd-safe
sysVinit
mysql.server