执行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.
解决方法如下:
cp /usr/share/mysql/my-huge.cnf /etc/my.cnf
cp: overwrite ‘/etc/my.cnf’? y
之后执行
systemctl start mariadb.service
mariadb服务启动成功
所有评论(0)