mysql安装出现问题

安装mysql时服务出现错误,启动不了
系统报错:Attempting to start service MySQL
D:\MYSQL\bin\mysqld.exe (mysqld 8.0.30) starting as process 13880
InnoDB initialization has started.
Cannot create redo log files because data files are corrupt or the database was not shut down cleanly after creating the data files.
Failed to initialize DD Storage Engine
Data Dictionary initialization failed.
Aborting
D:\MYSQL\bin\mysqld.exe: Shutdown complete (mysqld 8.0.30) MySQL Community Server - GPL
MySQL failed to start because of the following error(s):
Cannot create redo log files because data files are corrupt or the database was not shut down cleanly after creating the data files.
Failed to initialize DD Storage Engine
Data Dictionary initialization failed.
Aborting

只有在任务处于完成状态(RanToCompletion、Faulted 或 Canceled)时才能释放它。

img

.

看异常信息提示,他说有文件没有删除, 你之前卸载时应该是没有完全清除mysql的某些文件 在c盘里 找到关于mysql的文件,删除 然后重新安装

你好,解决了么,我也报了这个错误

重启