/etc/init.d/mariadb status #查看狀態 /etc/init.d/mariadb start #啓動 /etc/init.d/mariadb restart #重啓 /etc/init.d/mariadb reload #重啓 /etc/init.d/mariadb stop #中止
centos > 7.0系統centos
systemctl status mariadb systemctl start mariadb