How to stop and start MariaDB on Linux

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

Author: Jack Vamvas

Leave a Reply

Discover more from ciquery

Subscribe now to keep reading and get access to the full archive.

Continue reading