该方法会删除 mysql 数据,慎用
centos7上使用yum安装mysql后,启动报错
[root@localhost ~]# systemctl start mysqld
Job for mysqld.service failed because the control process exited with error code. See "systemctl status mysqld.service" and "journalctl -xe" for details.
查看日志