错误:[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