To stop/restart and disable mariadb service use the following commands:
Stop
# sudo systemctl stop mariadb.service
Restart
# sudo systemctl restart mariadb.service
Disable at boot time
# sudo systemctl disable mariadb.service
Check Status
# sudo systemctl is-active mariadb.service