Starting and stopping mysql on centos 7

Start mysql

systemctl start mariadb.service

Start on boot

systemctl enable mariadb.service

Check it is running

systemctl is-active mariadb.service