使用yum install mariadb安装mysql数据库之后,在用systemctl start mariadb命令启

动mysql时,提示:

      Failed to start mariadb.service: Unit not found.

出现此问题是由于安装mariadb数据库时未安装mariadb-server服务器,执行命令yum install mariadb-server后,

执行systemctl start mariadb,正常启动mysql数据库,无报错~

 

Logo

更多推荐