systemctl start mariadb启动报错:
Job for mariadb.service failed because the control process exited with error code. See “systemctl status mariadb.service” and “journalctl -xe” for details.
解决方案如下
- 查看进程
ps axu|grep mysql
- 杀掉MySQL的进程
//对应自己的PID
kill 45933
- 启动并查看状态
[root@localhost etc]# systemctl start mariadb
[root@localhost etc]# systemctl status mariadb
- 效果如图所示: