执行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服务启动成功

转载于:https://www.cnblogs.com/WaterGe/p/11257415.html

Logo

腾讯云面向开发者汇聚海量精品云计算使用和开发经验,营造开放的云计算技术生态圈。

更多推荐