How to stop and start MariaDB on Linux

28 October,2020 by Jack Vamvas

Question: How can I stop ,start and check status for MariaDB on Linux?

Answer: The commands will depend on whether you're using an older system with system V init or with systemd . I'll present both and decide depending on your server setup

--using system V init (assuming you're calling "mariadb") 

service mariadb status

service mariadb start

service mariadb stop 

service mariadb restart

--using systemd

systemctl status mariadb

systemctl start mariadb

systemctl stop mariadb

 

For more MariaDB commands use MariaDB Cheatsheet


Author: Jack Vamvas (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on How to stop and start MariaDB on Linux


dba-ninja.com