Job for mariadb.service failed because the control process exited with error code. Se

原文链接: https://blog.csdn.net/weixin_42741132/article/details/84854006

错误:[root@localhost ~]# systemctl start mariadb.service
Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details.

解决办法:

[root@localhost log]# cp /usr/share/mysql/my-huge.cnf /etc/my.cnf
把y输入
cp: overwrite ‘/etc/my.cnf’? y
再次启动就可以了
[root@localhost log]# systemctl start mariadb.service

安装mariadb
参考:
https://blog.csdn.net/Ambition2028/article/details/88379617

猜你喜欢

转载自blog.csdn.net/liuyuchen282828/article/details/102484105