系统相关
首页 > 系统相关> > centos7 安装mariadb、"systemctl status mariadb.service" and "journalctl -xe" for de

centos7 安装mariadb、"systemctl status mariadb.service" and "journalctl -xe" for de

作者:互联网

centos7 mariadb 安装

也可解决此错误:ob for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details

第一步:删除原有 内容

yum remove mariadb*   -- 彻底卸载 mariadb

第二步:安装 mariadb 所有依赖

yum install mariadb*

第三步:启动 mariadb服务

systemctl start mariadb

第四步:设置开机自启

systemctl enable mariadb

参考:https://blog.csdn.net/eclothy/article/details/52733891

标签:status,service,xe,centos7,systemctl,details,mariadb
来源: https://www.cnblogs.com/easonchean/p/14396029.html