All pages
Powered by GitBook
1 of 1

Loading...

sysVinit

Describes how to manage MariaDB using SysVinit scripts (mysql.server), common on older Linux distributions, using commands like `service` and `chkconfig`.

sysVinit is one of the most common service managers. On systems that use sysVinit, the mysql.server script is normally installed to /etc/init.d/mysql.

Interacting with the MariaDB Server Process

The service can be interacted with by using the service command.

Starting the MariaDB Server Process on Boot

On RHEL/CentOS and other similar distributions, the command can be used to enable the MariaDB Server process at boot:

On Debian and Ubuntu and other similar distributions, the command can be used:

Starting the MariaDB Server Process

Stopping the MariaDB Server Process

Restarting the MariaDB Server Process

Checking the Status of the MariaDB Server Process

Manually Installing mysql.server with SysVinit

If you install MariaDB from or from a that does not install automatically, and if you are on a system that uses , then you can manually install mysql.server with . See for more information.

SysVinit and Galera Cluster

Bootstrapping a New Cluster

When using with sysVinit, the first node in a cluster has to be started with service mysql bootstrap. See for more information.

This page is licensed: CC BY-SA / Gnu FDL

chkconfig
update-rc.d
source
binary tarball
mysql.server
sysVinit
sysVinit
mysql.server: Manually Installing with SysVinit
chkconfig --add mysql
chkconfig --level 345 mysql on
update-rc.d mysql defaults
service mysql start
service mysql stop
service mysql restart
service mysql status
Galera Cluster
Getting Started with MariaDB Galera Cluster: Bootstrapping a New Cluster