1.启动命令 [ root@localhost src]# systemctl start mariadb
2.重启命令 [ root@localhost src]# systemctl restart mariadb
3.关闭命令 [ root@localhost src ]# systemctl stopmariadb
4.设定开机自起[root@localhost src ]# systemctl enable mariadb
5.关闭开机自起[root@localhost src]# systemctl disable mariadb