解决mariadb 启动时报错Job for mariadb.service failed because the control process exited with error code. Se

 

错误:[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
cp: overwrite ‘/etc/my.cnf’? y
[root@localhost log]# systemctl start mariadb.service

猜你喜欢

转载自blog.csdn.net/weixin_42741132/article/details/84854006