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