mysql启动异常

1.启动报错

Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.

2.查看日志 、val/log/mysql.log 发现系统表不见了。

 3.重新初始换数据库系统表,(数据库备份的情况下,执行)

[root@es ~]# rm -rf /var/lib/mysql    

4.重启 重启之后,之前密码将作废,需要重新设置

systemctl start mysqld
原文地址:https://www.cnblogs.com/setout/p/11793190.html