ubuntu启动mysql失败
1、启动命令
sudo /etc/init.d/mysql restart
显示:
[....] Restarting mysql (via systemctl): mysql.serviceJob for mysql.service failed because the control process exited with error code.
See "systemctl status mysql.service" and "journalctl -xe" for details.
failed!
2、查看原因
输入:
systemctl status mysql.service
显示:
Apr 20 12:04:40 hecs-x-medium-2-linux-20200331093041 systemd[1]: mysql.service: Failed with result 'exit-code'.
Apr 20 12:04:40 hecs-x-medium-2-linux-20200331093041 systemd[1]: Failed to start MySQL Community Server.
Apr 20 12:04:40 hecs-x-medium-2-linux-20200331093041 systemd[