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
posted @ 2019-11-04 17:24  启程华夏  阅读(220)  评论(0编辑  收藏  举报