yum -y install mariadb //安装mariadbsystemctl start mariadb.service //启动mariadb然后提示如下:Failed to start mariadb.service: Unit not foundrpm -qa|grep mariadb //查询是否安装成功但却是提示成功反复卸载重装仍然如此,最好寻得一博文,解决如下:
yum install -y mariadb-server //需要安装mariadb-server
博文地址:https://blog.csdn.net/qq_28450919/article/details/78563370