当前位置: 代码迷 >> 综合 >> centos 7 安装 mariadb 后启动报错: “Failed to start mariadb.service: Unit not found.”
  详细解决方案

centos 7 安装 mariadb 后启动报错: “Failed to start mariadb.service: Unit not found.”

热度:95   发布时间:2023-12-05 08:24:25.0
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

  相关解决方案